We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32645
    • 377 Posts
    I’m writing an article, saved it -- and now whenever i preview the page it says under my content "No documents found." -- why does it say this? Its not appearing in my html (as it just says "Hello world" at the moment, so how do I get rid of it and why is it happening?

    Thank you.
      • 18397
      • 3,250 Posts
      Do you have a Ditto call in your document or template?
        • 32645
        • 377 Posts
        Hi there, yes I think there was a ditto call, or a template -- but I’ve now resolved it, but couldn’t understand why it was happening...

        anyway, thanks for your help!

        I have a new problem, when I use the old newslisting snippet, or ditto - part of my code requires a &tpl variable, which points to a chunk to be used as a template,

        but it always says this:


        &tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename. Please check it.

        &tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename. Please check it.

        In the content.

        The call I’m using is:
        [[Ditto? &summarize=`4` &total=`3` &startID=`8` &tpl=`NewsListingTemplate`]]
        

          • 32645
          • 377 Posts
          I’ve solved it now.. It turns out whomever was editing the articles beforehand put a call in a HTML template to a chunk/template that didn’t exist!

          Thanks for all your help!

          *Closed*