Hi Thomas,
thanks for your respond.
> we were upgrading from XWiki 3.5 to Version 4.
After upgrading
successfully
> a self coded macro does not work anymore whereas
all relevant files and
> contents are at its right place but it simply does not output anything (I
> don't know if the macro code runs through but does not output anything or
if
macro is not
even executed).
Hard to tell you exactly what is the issue without more informations.
First thing what kind of macro are you referring to (Wiki macro, java
macro, velocity macro, etc.) ?
This is a regular velocity macro to display subpages as if you click on the
information tab below the wiki page:
{{velocity}}
#if($doc.name=="WebHome")
#set($tree = $xwiki.doctree.getSpaceDocumentTree($doc.web))
#else
#set($tree = $xwiki.doctree.getDocumentTree($doc))
#end
#set($depths=["", "*", "**", "***",
"****", "*****", "******", "*******",
"********"])
#foreach($leaf in $tree)
#if($leaf.depth <= 8 && ($leaf.depth != 0 ||
$doc.name=="WebHome"))
$depths.get($leaf.depth)
[[$xwiki.getDocument($leaf.fullName).getDisplayTitle()>>$leaf.fullName]]
#end
#end
{{/velocity}}
Worked beatifully in 3.5, but does not work anymore with 4.0.
> Furthermore, the title of our appw/minutes look
extremely disturbing and
-
to be honest -
ugly:
"platform.appwithinminutes.appHomePageDescriptionHeading" instead of
"Projects". What went wrong?
This looks like missing translations. Did you overwritten
XWiki.XWikiPreferences page ?
What you mean by overwritten? We have taken all 4.0 files to replace 3.5
files. But we have not manually changed them.
Thanks and bests,
Moritz