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 1.11
edited by Ricardo Julio Rodríguez Fernández
on 2024/08/17 09:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -63,11 +63,11 @@
63 63  ## <!-- Tabs -->
64 64  #set ($MyTabStr=${MyTabStr} + '<ul id="top-menu-tabs" class="nav nav-tabs navbar-inverse">')
65 65  ## HOME icon
66 -#set ($MyTabStr=${MyTabStr} + '<li class="menu-panel"><a href="' + $services.rendering.escape($escapetool.xml($xwiki.getURL('Home.About.WebHome', 'view')), $doc.syntax) + '" title="' + $services.localization.render('CustomExtension.TopPanelMenu.Content.Home.Icon') +'"><span class="glyphicon glyphicon-home"> </span></a></li>')
66 +#set ($MyTabStr=${MyTabStr} + '<li class="menu-panel"><a href="' + $services.rendering.escape($escapetool.xml($xwiki.getURL('Main.WebHome', 'view')), $doc.syntax) + '" title="' + $services.localization.render('CustomExtension.TopPanelMenu.Content.Home.Icon') +'"><span class="glyphicon glyphicon-home"> </span></a></li>')
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