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

    I have a navigation generated by Wayfinder

    [!Wayfinder?&startId=`0`&level=`2`&outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &firstClass=`first` &hereClass=`hereclass`!]

    it shows the menu and submenu in dropdowns... the problem is that I need to remove the link from top level menu which has children

    How’s better to solve this problem ?

    for example I have:

    Home
    Products
    Product one
    Product two
    Product three
    About Us
    Page one
    Page two
    Page three
    Contact Us

    I need to link Products and About Us to "#", now it links to the page ID. Other submenus links should not be changed. Also home and Contact us should stay the same. The link should be replaced with # only on parents who has active children.
      • 6537
      • 70 Posts
      Have a look at Kongondo’s "The (almost) complete guide..." on WayFinder, you should easily be able to find it with a quick search. I had a similar issue and found that the &categoryFoldersTpl template parameter was what I needed. I wouldn’t do a very good job of explaining how to implement it though, but I can tell you that the info is on page 47 of Kongondo’s guide. Hope this helps!

      [edit] Just found the forum post, to save you having to look for it:
      http://modxcms.com/forums/index.php/topic,34176.0.html
        • 16183
        • 1,390 Posts
        I think loter double posted smiley . A solution was provided on the other post. In this instance, I suggested a different solution though...MODx, so many ways to achieve things...:)

        cheers/k