We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15090
    • 4 Posts
    Hi All, I’m a front end designer just getting into backend coding stuff, so please excuse if I sound a little dense with some terminologies

    Anyway, question: Could someone explain (ideally with example) how the "foldout" effect of the main modx website menu was created? Was it done via snippet or chunk or Wayfinder?



      • 25663 MODX Staff
      • 12,272 Posts
      An old customized version of DropMenu ... Use Wayfinder now with the the param that only shows the active tree.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 15090
        • 4 Posts
        Quote from: rthrash at Feb 10, 2008, 08:36 PM

        ...... Use Wayfinder now with the the param that only shows the active tree.

        Is there a parameter to do that? I looked at the list of parameters on Muddydogpaws ( http://www.muddydogpaws.com/development/wayfinder/parameters.html ) and couldn’t see one. Can anyone point me in the right direction?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          &hideSubMenus
          default: FALSE
          values: [ TRUE | FALSE ]
          description: The hideSubMenus parameter will remove all non-active submenus from the Wayfinder output if set to TRUE. This parameter only works if multiple levels are being displayed.
            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
            • 15090
            • 4 Posts
            ok, so in MODX things are referred to as "main menus" and "submenus" are they? I assumed based off other CMS’s they might be called "Parent" and "Child" menus so that’s what I was looking for in the text. Many Thanks sottwell
              • 25663 MODX Staff
              • 12,272 Posts
              There’s honestly no hard and fast rules about menus, or for that matter MODx in general. Wayfinder is only one solution for creating menus and happens to use the submenu nomenclature. MODx is incredibly flexible and there’s typically more than one way to achieve the same end goal. While it’s likely quite frustrating at first, or maybe even intimidating, it leads to a lot of freedom once it all clicks. smiley

              (BTW, I think "child/parent" is a better and much more accurate way to refer to it, too.)
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me