I just can't remember or find any mention of how to do this in the WF docs or even via google.
Can anyone remind me how to do this?
Maybe something like...
&sortBy=`tv.mobMenuIndex`
&sortOrder=`ASC`
Thanks.
-
☆ A M B ☆
- 24,524 Posts
I'm not sure if you can do that with Wayfinder. But I do know that you can with pdoMenu, part of the pdoTools package.
&sortby (default) menuindex - Any resource field for sorting, including TV option the property &includeTVs is set. A JSON string can be specified with an array of several fields. To randomly select sorting use «RAND()».
http://docs.modx.pro/en/components/pdotools/snippets/pdomenu