I’m trying to get Ditto to work on our production server and getting the following output instead:
&tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename. Please check it.
Here is my Ditto call inside a Template:
[[Ditto? &parents='4' &tpl='grid_block' ]]
I have a Chunk called ’grid_block’ defined as:
<div id="grid_block">
<h2>[+pagetitle+]</h2>
<div id="gridlayout_image"><img src="[+introimage+]" /></div>
<span class="bodycopy">[+introtext+]</span>
</div>
Now, I tried using almost this same code on my test server, and it worked fine (the actual chunk is slightly different as is the chunk name, but I don’t see anywhere that would matter.
Can anyone suggest a problem with my call or point me in a new direction? I’ve tried searching the forums and the docs, and haven’t found anything that helped yet.
Thanks!
Daniel