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

    By all means i have absolute no understanding of coding just trial and error

    I have two column css template.

    Using following wayfinder to populate top menu (which contains 0-6 menu index resource documents)

    [[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropline`]]
    [[$TopMenu]]

    in Sidebar column i used the same wayfinder but changed the start id greater than 6 so any new resource document with menu index 7 or higher would get listed in side column with following wayfinder via sidebar chunk

    [[Wayfinder? &startId=`7` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropline`]]
    [[$TopMenu]]

    my understanding was Top menu will have links from menu 1-6 and wayfinder in my sidebar chunk would allow to catch 7 and higher and display in sidebar column.

    How can i achieve this

    Thnx
    Sintl
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Set the resources you want to show in the top to not show in the menu, then tell Wayfinder to limit to 6 and to ignore the show in menu setting.

      The second menu would, as usual, only display those that are set to show in menu.

      Both would startId at 0; this tells Wayfinder what resource to use as the parent to build the menu from.
        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