Somehow, I can’t use chunks on my new installation of Modx Revolution. I have seen the problem the whole day when adding simple chunks to the templates, and they are not displayed at all. But the evidence I got when using Ditto and adding a chunk to the &tpl parameter: The following gets is printed:
&tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename. Please check it.
I Have checked the name, and that is correct. The chunk itself is fine:
<div class="post">
<h3>[+pagetitle+]</h3>
[+content+]
</div>
Any Ideas where I can fix this issue?
you need to change your tags in revo like that:
<div class="post">
<h3>[[+pagetitle]]</h3>
[[+content]]
</div>
See:
http://rtfm.modx.com/display/revolution20/Tag+Syntax
You should replace Ditto by getResources in Revo.
Thanks to you both! Seems to fix the issues!