We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11499
    • 8 Posts
    i have a simple question:
    how do i have to write my navigationstring that the functionality is like the one in the modxcms mainsite.
    i.e. it only folds out the subnavigation if you click the parent link.
    that is what i want
      • 25663 MODX Staff
      • 12,272 Posts
      Our navigation is actually a heavily modified version of DropMenu I’d not recommend using. The rest can be accomplished (and ours will be updated) to Wayfinder with the appropriate calls.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 7923
        • 4,213 Posts
        In wayfinder, that would be done using &hideSubMenus=`1` parameter


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 11499
          • 8 Posts
          ive done that with css:
          #navi li ul li.here{
          display:block;
          }
          #navi li ul li{
          display:none;
          }

          ...similar like that

          so you can also fold in and out smoothely by javascript