We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22835
    • 54 Posts
    Hello all,
    I've setup my charity site www.hoopperu.org. The nav works well except for one anomaly. When I click into a subsection, it will only show the subnav items of the one section, the first section.

    The document tree looks like this;

    GET INVOLVED
    - volunteer
    - how to apply
    - volunteer services
    - faqs
    OUR PROJECTS
    ABOUT US
    etc

    When I click into "Our Projects" all the subnav items inside "Get Involved" appear. All the pages follow the same template which has the following wayfinder call.
     [[!Wayfinder?
    &startId=`0`
    &rowTpl=`navrow`
    &outerTpl=`mainnav`
    &innerTpl=`subnav-ul`
    &level=`2`
    
    &hereClass =`active`
    &rowIdPrefix=`item`
    ]]


    Here's the "Our Projects" page to show http://www.hoopperu.org/index.php?id=8

    Anyone know what's going wrong? I'm tearing my hair out!




    This question has been answered by pauloneill79. See the first response.

    • discuss.answer
      • 22835
      • 54 Posts
      RESOLVED

      AHA! I got it I had removed the hidesubmenus paramater in my meddling to fix something else with wayfinder. It's reinstated the below instruction now and it works.

      &hideSubMenus=`TRUE`
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        It's better to get into the habit of using 1 or 0, as some snippets consider anything except 0 to be true.
          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