We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24969
    • 120 Posts
    Thanks.... If only the clients were as understanding as you.... wink
      The important thing is not to stop questioning. Curiosity has its own reason for existing. One cannot help but be in awe when he contemplates the mysteries of eternity, of life, of the marvelous structure of reality. It is enough if one tries merely to comprehend a little of this mystery every day. Never lose a holy curiosity.

      -Albert Einstein (1879 - 1955)

      Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The trick with Ditto is to tell it which document is the parent of all your item documents (&parents=`<document id>` parameter), then to create your own mini-template (we call them tpl to avoid confusion with the main site templates) in a chunk, and tell Ditto to use that for formatting each item in its list (&tpl=`name-of-chunk` parameter).

      Beware! those are backticks and not single quotes or apostrophes in the snippet’s parameters!

      http://www.pogwatch.com/ditto.html
        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