Changes for page Menu content
Last modified by Ricardo Julio Rodríguez Fernández on 2026/06/12 19:48
From version 3.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/06/12 19:48
on 2026/06/12 19:48
Change comment:
There is no comment for this version
To version 1.12
edited by Ricardo Julio Rodríguez Fernández
on 2024/08/23 13:08
on 2024/08/23 13:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -67,7 +67,7 @@ 67 67 ## Columns 68 68 #set ($MyColumns='') 69 69 #set ($MyPanel='') 70 -#set($children = $ collectiontool.sort($MenuContentDoc.getChildren()))70 +#set($children = $sorttool.sort($MenuContentDoc.getChildren())) 71 71 #foreach ($child in $children) 72 72 #set($MyDoc=$xwiki.getDocument($child)) 73 73 ## Page name and title ... ... @@ -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 $ collectiontool.sort($TabDocs.getChildren()))90 + #foreach ($child1 in $sorttool.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 $ collectiontool.sort($ColDocs.getChildren()))98 + #foreach ($child2 in $sorttool.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'))