Changes for page Menu content

Last modified by Ricardo Julio Rodríguez Fernández on 2026/06/12 19:48

From version 2.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/06/12 19:09
Change comment: There is no comment for this version
To version 3.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/06/12 19:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -87,7 +87,7 @@
87 87   ## Displayed all colums (children page of col-xx on the line)
88 88   ## List children page of Tab-01
89 89   #set($TabDocs=$MyDoc)
90 - #foreach ($child1 in $sorttool.sort($TabDocs.getChildren()))
90 + #foreach ($child1 in $collectiontool.sort($TabDocs.getChildren()))
91 91   #set($child1Ref = $services.model.resolveDocument($child1))
92 92   ##<!-- 1st and other columns -->
93 93   #if ($child1Ref.parent.name.startsWith("$colPrefx"))
... ... @@ -95,7 +95,7 @@
95 95   ## <!-- Groups vertical aligned -->
96 96   ## List bulleted lists: children pages of Col-xx
97 97   #set($ColDocs=$xwiki.getDocument($child1Ref))
98 - #foreach ($child2 in $sorttool.sort($ColDocs.getChildren()))
98 + #foreach ($child2 in $collectiontool.sort($ColDocs.getChildren()))
99 99   #set($child2Ref = $services.model.resolveDocument($child2))
100 100   #if ($child2Ref.parent.name.startsWith("$ListPrefx"))
101 101   #set($child2RefStr = $services.model.serialize($child2Ref, 'default'))