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

    I’ve started using Ditto for listing out documents. Its been working fine for me.
    Whaen I try to add a ditto call to my homepage template it simply returns "No Documents Found". I have copied the call from another papge in the site:

    [!Ditto? &startID =`4` &tpl=`mytpl` &summarize=`10`!]

    I tried calling it cached and uncached...but still lists no documents? An I doing something silly here?

    Cheers,

    Justin
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You said your "homepage template". Does this mean that your home document was not changed? Perhaps it was cached, and the cache has not been cleared, so it’s still displaying the cached version without the Ditto call?
        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
        • 15083
        • 697 Posts
        Im placing the Ditto call into the template for the homepage for my site.
        I have cleared the cache....but it still returns no documents?
          • 7455
          • 2,204 Posts
          en not the problem but start using the new parameter parents instead of startID

          dimmy
            follow me on twitter: @dimmy01
            • 15083
            • 697 Posts
            Hi,

            Still have this issue. Here is the call in the template of my document:

            [!Ditto? &parents =`54` &tpl=`ditto_specialoffers` &display=`3`!]

            ID 54 is a container with 3 children. I get "No Documents Found."
              • 4310
              • 2,310 Posts
              Are the three children docs published and public?