We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38593
    • 129 Posts
    We have a fair number of products, each with 8 child pages. As these pages are for info after the purchase, they are essentially stand alones and so we want Wayfinder to only display the 8 child pages.

    Creating a Wayfinder menu manually is not an issue, but what I am hoping for is a way to automatically set the startId to the parent resource. And ideally something that can be coded into the template.

    Is there any sort of parentId tag ie:
    [[*parentid]]
    that could be used for the Wayfinder startId property?

    I saw the getParentId in the snippet options, which may be a work around, but does require slightly more processing each time a page is served.

    Thanks for any suggestions.

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

      Pedalers Bicycle Tours my website forged with MODX
      vandergraaf-M static website generator for MODX
    • discuss.answer
      • 4172
      • 5,888 Posts
      &startId=`[[*parent]]`
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 38593
        • 129 Posts
        Thanks Bruno17 ... that was simple enough ... and now going back through my MODX book, there it is staring me in the face. Some days the brain just doesn't seem to work.
          Pedalers Bicycle Tours my website forged with MODX
          vandergraaf-M static website generator for MODX