We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16382
    • 36 Posts
    I realize there is such a feature in the MODx API, but am unsure on how it should be used. In my document tree I have a parent folder each with a single child document, I want to be able to, using a chunk, create a link in each parent for each of their child documents. Is there such a placeholder as [+child+] which could be used, or is there some other way to accomplish this?

    Can someone show me a simple way to do this?

    Thanks smiley
      • 29181
      • 480 Posts
      I think the easiest way would be to place a wayfinder call where you want the link displayed.

      [!Wayfinder!]


      should suffice. If each child document also has children then you will maybe have to use hodeSubmenus parameter. But check out the wayfinder documentation in the wiki for more information on that.

      Taff
        Adrian Lawley: www.adrianlawley.com