We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36571
    • 145 Posts
    My wayfinder navigation works great until I add the &includeDocs parameter, at which point the whole menu dissappears. I have tries switching debug on but I could not find anything weird in there either.

    This works fine:
    [!Wayfinder?&startId=`0` &excludeDocs=`8,28,29,58,59` &rowTpl=`footerrowtpl` &lastCSS=`last`!]


    This displays nothing:
    [!Wayfinder?&startId=`0` &includeDocs=`516` &excludeDocs=`8,28,29,58,59` &rowTpl=`footerrowtpl` &lastCSS=`last`!]


    Using Wayfinder 2.0 and ModX 0.9.6.1

    Please help me out...
      • 7231
      • 4,205 Posts
      One thing that is interesting about includeDocs is that the parent needs to be active (IIRC). So if you want some of the children to show the parent needs to show as well. I think this is due to maintaining the tree structure. If you want a flat output of selected documents try Ditto.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 36571
        • 145 Posts
        Thanks for the advice dev_cw. Makes sense.

        Will try it with Ditto.

        Cheers.