We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38669
    • 51 Posts
    Hey there,

    I want my main menu to be sorted by resource ID. But one specific submenu I want sorted alphabetically. This is evolution so dragging and dropping resources into the order I want them doesn't work (as far as I can tell).

    Thanks for any suggestions short of upgrading to revo tongue
    • It might be done automatically by making the parent of the submenu in question a "categoryFolder" by putting rel="category" in its attributes field, then in the categoryFolderTpl use a standard rowTpl structure except with a separate Wayfinder call, with some clever manipulation of its tpls and with the ordering you want, instead of the [+wf.wrapper+]. I'm pretty sure that this would cause it to lose the "active" class, though.

      As far as drag-and-drop for Evo, check the Sort Menu Items tab of the DocManager module.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org