We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15716
    • 57 Posts
    I want to display 5 "random" links that I specify, but the random children will not show without the parents being in the specified list...

    [[Wayfinder? &startId=`0` &level=`4` &includeDocs=`{{random.links}}` &rowTpl=`basic.row` &outerTpl=`basic.outer` &ignoreHidden=`TRUE`]]

    How (or is it possible) can I do this? Stumped. Children without their parents...

    Thanks!
      • 3707
      • 241 Posts
      Do you need to use Wayfinder? You could use Ditto instead:
      [[Ditto? &documents=`{{random.links}}` &display=`5` &tpl=`linksTpl`]]
        • 7231
        • 4,205 Posts
        The title of this post just makes me sad :’(

        Anyway, includeDocs in wayfinder only works if the docs are available in the menu output (as you have found out). Ditto could do this no problem as suggested.
          [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]
          • 15716
          • 57 Posts
          Ditto worked like a charm, thanks bob.

          Sorry for the title, it’s an attention grabber grin

          Cheers!