We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24161
    • 16 Posts
    Wayfinder rocks, but is there a way to tell it to only list the CHILD DOCUMENTS of a specific DOCUMENT?

    I know I can specify a range of IDs to include in the menu, but I’m curious if there’s a way to do this dynamically, so that when the client adds a new CHILD DOCUMENT it would immediately appear in that menu, and not another?
      • 25663 MODX Staff
      • 12,272 Posts
      Have clients create documents as children of specific startId docs.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 15987
        • 786 Posts
        All you need to do is set the startId to the folder you want to display the menu for,
          • 24161
          • 16 Posts
          Wow. I’m a complete moron. Sorry about that :p
            • 6470
            • 69 Posts
            I am afraid it is not the best solution

            I think there should be the way to get parent id and insert it in wayfinder

            like
            Wayfinder?&startId=`curent parent`

            might be an API call??


              • 11975
              • 2,542 Posts
              Something like

              Wayfinder?&startId=`curent parent`

              =>

              Wayfinder?&startId=`[*parent*]`

              :-)
                Made with MODx : [url=http://www.copadel.com]copadel, fruits et l