Ditto not working with @CODE: as template.
[[Ditto? &summarize=`5` &tpl=`@CODE:<h3><a href="[~[+id+]~]" title="[+title+]">[+title+]</a></h3>`]]
I’m totally guessing here, relying on my poor memory, but I don’t think you can use @CODE there.
You need to set a chunk’s name.
It’s not working there because your code has an ’=’ character in it. The current MODx parser is limited in such a way that it won’t act as desired if there are ’=’ characters within the value of a snippet parameter.
You will have to create a chunk or a file (using [tt]@FILE[/tt]) for that template.
@sirlancelot Thank You Sir!