Changes for page Navigation

Last modified by Benjamin Fischer on 2025/05/27 11:36

From version 19.1
edited by Benjamin Fischer
on 2024/12/09 14:48
Change comment: There is no comment for this version
To version 18.1
edited by Benjamin Fischer
on 2024/11/22 12:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  {{velocity}}
2 2  {{html wiki="true"}}
3 -#macro (navItem $rootName $depth=4 $childsMax=10 $childsMin=1 $level=1)
3 +#macro (navItem $rootName $depth=3 $childsMax=10 $childsMin=1 $level=1)
4 4   #set ($rootDoc = $xwiki.getDocument($rootName))
5 5   #set ($canView = $rootDoc.hasAccess("view"))
6 6   #if ($canView)