Changes for page Rangee Index

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 7.1
edited by Tobias Wintrich
on 2021/09/24 16:04
Change comment: There is no comment for this version
To version 7.35
edited by Tobias Wintrich
on 2021/09/27 14:48
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,4 +1,4 @@
1 -{{template name="documentTree_macros.vm" /}}
1 +{{template name="RangeeDocumentTree_macros.vm" /}}
2 2  
3 3  {{velocity}}
4 4  #set ($options = {})
... ... @@ -7,7 +7,19 @@
7 7  #end
8 8  {{html clean="false"}}
9 9  #prepareTreeOptions($options)
10 -$options
11 11  #documentTree($options)
11 +
12 12  {{/html}}
13 +
14 +{{tree}}
15 +#foreach ($child in $doc.children)
16 + * [[$child]]
17 + #foreach ($subchild in $child.children)
18 + ** [[$subchild]]
19 + #end
20 +#end
21 +{{/tree}}
22 +
23 +
13 13  {{/velocity}}
25 +