We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28341
    • 43 Posts
    I’m beginning to get really frustrated, ModX is cool and all but simple tasks like printing out specific menu items are way bigger problems than they ought to be. I’ve spent 20 minutes trying to figure out why this one-row-code Wayfinder request won’t work -

    [[Wayfinder? &startId=`[49]` &level=`2`]]

    ID 49 has a number of children that I want to display. I’ve tried other options such as

    [[Wayfinder? &startId=`[49]` &level=`1`]]

    [[Wayfinder? &startId=`[49]` &level=`1` display=`1`]]

    (and 2 instead of 1)

    These references to submenus and displays are so confusing. What am I missing out?

    -S
      • 26931
      • 2,314 Posts
      Hi staffan.estberg ,

      try [*49*]
        • 4310
        • 2,310 Posts
        Shouldn’t that be :
        [[Wayfinder? &startId=`49` &level=`2`]]

        huh
          • 26931
          • 2,314 Posts
          Shouldn’t that be :
          Code:

          [[Wayfinder? &startId=`49` &level=`2`]]

          Huh
          oh dear, ignore my post, don’t know where i’ve got my head today
            • 28341
            • 43 Posts
            [[Wayfinder? &startId=`49` &level=`2`]] didn’t work sad
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              That snippet call will generate a two-level nested unordered list using the children and grandchildren of resource #49.

              What is it that you expect it to do?
                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
                • 28341
                • 43 Posts
                I expected it to behave exactly as you described wink
                Strange...

                Edit: Works now! Not sure what it was... cache?
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  They know better than to mess around with me wink
                    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
                    • 28341
                    • 43 Posts
                    Hehe. Thanks Susan