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

    I am stuck with the following workflow:

    I am trying to create a megamenu using wayfinder. Every dropdown/innerTpl has two columns.

    - 1: displaying all second level child resources of the parent resource
    - 2: displaying a random number of third, fourth etc. resources via a getResources call

    To realize the second column it would be necessary to have the docid of the corresponding parent resource within the innerTpl which is not possible right now.

    Any alternatives or ideas how to bypass this issue?

    Thanks in advance
    • Try using pdoMenu. All fields are available, so you should have [[+parent]].

      By default, all fields of the modResource object are selected.
      http://docs.modx.pro/en/components/pdotools/snippets/pdomenu
        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