We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24197
    • 21 Posts
    Hello.

    I would like to use this sidemenu on my MODx template.

    I will be using Wayfinder for my top dropdown menu.

    Can I also combine it with this sidemenu so I don’t have to add <?php $thisPage=" "; ?> for each page, and create menu items manually? If so, how?

    Thanks..

    Kevin
      • 21496
      • 225 Posts
      The snippet UltimateParent is probably what you want to use, for using the parent dynamically for displaying the menu. In the most simple form, the call looks like this:

      [!Wayfinder? &startId=`[[UltimateParent]]` !]


      UltimateParent should already be there, if you didn’t exlcude it from the installation. To display your menu like in your example, you probably have to make use of on of the template chunks: http://www.muddydogpaws.com/development/wayfinder/parameters.html
        René