Hi,
I have a question related to sorting.
The sorting solution by Bruno does work fine, but it raises another issue in my situation.
Some items in the topnavigation contain subitems, which I want to sort descending, instead of the default, ascending.
I use the &hideSubMenus=`TRUE` parameter to only show active submenus.
The sorting works fine with Bruno’s solution, but now
all submenus are shown, instead of just the active one.
My document template contains the following Wayfinder call:
[[Wayfinder? &startId=`0` &level=`0` &rowTpl=`nav` &hideSubMenus=`TRUE`]]
And here’s my rowtemplate:
<li[+wf.id+][+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>
[[Wayfinder? &startId=`[+wf.docid+]` &rowTpl=`nav` &sortOrder=`DESC` &hideSubMenus=`TRUE`]]
</li>
Suggestions, anyone?
Thanks!