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

    I need help with wayfinder:

    I like to have a sub navigation on the left side of my page, using Chunks for it. The sub navigation should only show the brothers ans sisters of the current page/level, not the parents and other pages.
    I need the pages of the current container/parent.

    How can I do this?

    Thx,
    Georgy
      • 33337
      • 3,975 Posts
      use &startId=`[*parent*]`

      [*parent*] will return the id of current parent/container, so WF will list all the children doc of that parent/container without container itself.

      hope this helps.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 5361
        • 3 Posts
        I tried this allready, but it doesn’t work. :’(

        Here is a screenshot. What do I do wrong?


        I want to see on the page US a sub menu, containing US, notion of nation (all the pages of the container About...)


        THX
          • 33337
          • 3,975 Posts
          Use your snippet call un-cached [!...!] instead of [[...]].

          regards.
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link
            • 5361
            • 3 Posts
            smiley smiley smiley

            Thanks so much!! It is working now!!
              • 15871
              • 105 Posts
              Hi, I was looking for a mod of this solution... I would like the navigation on the page to only display the children of the currenrt page, but ALSO show the other pages.

              Example:

              > page 1
              > page 2
              > page 3
              > page 4

              I click on Page 2:

              > page 1
              > page 2
              > subpage 1
              > subpage 2
              > page 3
              > page 4


              I click on Page 3:

              > page 1
              > page 2
              > page 3
              > subpage 1
              > subpage 2
              > page 4

              Can Wayfinder do this?
                • 25663 MODX Staff
                • 12,272 Posts
                Yes.
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 11975
                  • 2,542 Posts
                    Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                    • 2896
                    • 70 Posts
                    Quote from: killorbytes at Mar 02, 2007, 08:24 AM

                    Hi, I was looking for a mod of this solution... I would like the navigation on the page to only display the children of the currenrt page, but ALSO show the other pages.

                    Example:

                    > page 1
                    > page 2
                    > page 3
                    > page 4

                    I click on Page 2:

                    > page 1
                    > page 2
                    > subpage 1
                    > subpage 2
                    > page 3
                    > page 4


                    I click on Page 3:

                    > page 1
                    > page 2
                    > page 3
                    > subpage 1
                    > subpage 2
                    > page 4

                    Can Wayfinder do this?

                    Also some help in this thread:
                    http://modxcms.com/forums/index.php/topic,11760.msg78925.html#msg78925

                    Hope you can get it working ...
                      • 15871
                      • 105 Posts
                      Awesome. thanks grin