We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13695
    • 15 Posts
    Thanks Mike, I’ll try it tomorrow, is there a specific way to call this within a template? Via a ditto perhaps? I’ve tried a couple of combos:

    The way I’m trying to make it work is a user would select a document from the list supplied by your Template Variable, then the result would need to reflect within a chunk in the template for the Home Page, displaying for some of the fields of the chosen news document..if that makes sense?

    J
      • 6228
      • 249 Posts
      You can add a Ditto snippet within your template, for example:

      [!Ditto? &documents=`[*name_of_your_tv*]`!]
        lo9on.com

        MODx Evolution/Revolution | Remote Desktop Training | Development
        • 13695
        • 15 Posts
        That’s what I tried initially and it didn’t work and then I say my EVAL string was not the same as yours for some reason, now it works very well! Thanks...

        The ID in the AVAL string doesn’t make a difference though, i had to change that in the snippet, which isn’t a big deal.

        Two things I’d like to improve on it are: Only showing published documents in the drop-down, and also specifying what heading is used in the drop-down, currently it uses the document alias, then it would probably be perfect!

        J