By default, Wayfinder sorts menus by menuindex, so you can manually enter menu index numbers when creating/editing the documents.
It will also sort by any other resource field so if you set
in the Wayfinder tag, it will sort by the document ID.
will sort alphabetically by title.
You can also set
or
Thank you! Makes total sense - and worked perfectly. Only thing - I want the main top nav to be sorted differently than the sub-menus. For example, I want "Home" to be listed first. Any way to easier do this?
Thanks again for your help!
Dinos
To sort in your desired order, enter the appropriate menuindex (i.e. 1 for home to be the first).
To sort a bunch of documents use the sort function of DocManager module.
Greetz
JUSI
BTW, menu index numbers don’t have to be sequential, so you can assign 9999, for example, to something you always want at the bottom of the menu.
This sounds soooo simple, and I set the menu indexes for the top nav 1st level nav from 1 to 5. But, they’re still appearing alphabetical. Can’t seem to get the first level nav to be sorted by menu index and the drop-down menus sorted by alpha.
What am I doing wrong?
Thanks again!
If your horizontal menu is being generated by one Wayfinder call you can’t have them sorted two different ways.
Use menuindex and either change the child documents manually by editing their menuindex number or use the DocManager module to drag and drop them into the correct order.
Thank you gentleman - much appreciated!!