On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hello,

    is it possible to order a menu(im using wayfinder) with 2 levels? i mean, there is only a "placeholder" for all menus and submenus at the same time, i want to order my parent li with menuindex, and my inner li's with pagetitle, i think there is a problem with my DB, beacuse just my outer li's order when i put orderBy='pagetitle'

    Order is not responding to the parameters i pass to wayfinder

     [[!Wayfinder?
                                     &startId=`[[!fatherOfparent?&parent=`[[*parent]]`]]`
                                     &level=`2`
                                     &outerTpl=`wfOuterInterna`
                                     &innerTpl=`wfInnerInterna`
                                     &parentRowHereTpl=`wfParentRowHereInterna`
                                     &parentRowTpl=`wfParentRowInterna`
                                     &activeParentRowTpl=`wfParentRowHereInterna`
                                     &ignoreHidden=`false`
                                     &sortBy=`pagetitle`
                               &excludeDocs=`21100`
                                     ]]
    




    Thank you
    • That is an issue with the character set and collation of your database. Different collations process the characters differently when ordering. You may need to have your database set to utf8_spanish_ci to get it to sort the way you want.
        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