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

    I’m having trouble getting a chunk to output a post and get the following error "&tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename"

    Here is the chunk - named "dittomoviesum":
    <div class="movie">
    <h3><a href="[~[+id+]~]">[+title+]</a></h3> 
    [+summary+]
    [+link+]
    </div>
    


    Here is the ditto call:
    [!Ditto? &parents=`6` &orderBy=`pub_date ASC` &tpl=`dittomoviesum`!]


    Not sure where I’ve messed up - sorry if it’s something simple.

    Cheers
      • 5532
      • 251 Posts
      Turns out the Rich text editor had added styling to the ditto call which was stuffing things up - we switched the editor to "none", removed the spans and everything works.

      Cheers