We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20349 ☆ A M B ☆
    • 453 Posts
    Hi all...

    I have a simple question... I’m using built in drop down menu that comes with every modx instalation....

    I was wondering what do I must change to not show parent document (or menu) that has sublinks as a link?


    Example:
    Menu1 (is link)| Menu2(is link) | Menu 3 (is not link but when on hover it expands submenus) | Menu4 | Menu5
    |-submenu1
    |-submenu2
    |-submenu3


    live example where it should go is croevent.net

    ...and another example: muddydogpaws.com/development/wayfinder/examples/example-1.html
      BASE - Web Design Studio
      MODX Ambassador

      Website
      • 4310
      • 2,310 Posts
      One way is to modify your parentRowTpl chunk, try changing the
      href="[+wf.link+]"
      to
      href="#"
        • 20349 ☆ A M B ☆
        • 453 Posts
        Ok, did what you told... and that worked partially...
        It only replaced the parent row with the # link.... what I was trying to achieve is to have that parent row as a "dummy link"...

        Solution: I just needed to remove the href attribute smiley


        Thanks smiley
          BASE - Web Design Studio
          MODX Ambassador

          Website