I’ve got a really simple problem with Ditto displaying the results on a news page. If I nest a chunk within the &tpl chunk I get a ’&tpl either does not contain any placeholders’ error.
[!Ditto? &parents=`2` &tpl=`one`!]
The &tpl=`one` chunk:
<div class="news_style_one">
{{test_code}}
</div>
The test_code chunk:
<h3><a href="[~[+id+]~]">[+title+]</a></h3>
But the result is:
&tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename. Please check it.
However if I replace {{test_code}} with the html it works fine.
Can anyone let me know what I’m doing wrong please?