We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19257
    • 141 Posts
    I’m having a problem displaying a submenu, the parent menu is built in HTML, I just want a simple menu to be displayed when the parent link is clicked.

    Here’s my call

    [[Wayfinder? &startId=`[[$submenu]]` &level=`1` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`outer` ]]


    here’s the chunk "outer"
    <div id="subnav"><ul>
            [[+wf.wrapper]]
        </ul>
    </div>


    for the TV "submenu", i just specify at which id wayfinder should start..

    Here’s the basic structure

    Parent Link - Parent Link - Parent Link
    |__ no link - |__ Sublink 1 |__ Sublink 1
    |__ Sublink 2 |__ Sublink 2
    |__ Sublink 3
      • 19257
      • 141 Posts
      Read 15 times? Come on folks, I’m sure someone knows how to get the child to display
        • 17499 ☆ A M B ☆
        • 872 Posts
        Try to use &debug=`1` to see an output table of what’s happening.

          • 19257
          • 141 Posts
          I figured it out. Thanks. Man the modx forum isn’t what it used to be.
            • 1778
            • 659 Posts
            Hi,
            You said your call of Wayfinder is :
            [[Wayfinder? &startId=`[[$submenu]]` &level=`1` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`outer` ]]
            

            and

            for the TV "submenu", i just specify at which id wayfinder should start.

            If "submenu" is a TV, it’s not what you call in your Wayfinder call, you’re specifying "&startId=`[[$submenu]]`" : [[$submenu]] is the notation for a CHUNK not for a TV you should have

            [[Wayfinder? &startId=`[[*submenu]]` &level=`1` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`outer` ]]
            


            the correct notation for the TV is [[*name_of_the_TV]] or [[!*name_of_the_TV]] to call it uncached...
            Hope this helps
            Cheers
              • 3749
              • 24,544 Posts
              Quote from: miamisurf at Aug 24, 2010, 02:21 PM

              I figured it out. Thanks. Man the modx forum isn’t what it used to be.

              No kidding. When I think of what we’re paying these guys, it makes me boiling mad when you can’t get an answer in under three hours.

              Oh wait, we’re not paying them anything.

              Never mind. smiley
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting