I need to call a snippet from within the template chunk of a ditto call. Is this even possible? I’ve tried several different approaches without luck.
Basically, I need to perform a basic operation on the contents of a template variable before it is used by the ditto call.
Anyone tried anything like this?
My ditto tpl would look something like this:
<li>[+pagetitle+]<br/>[[SomeSnippet]]</li>
If using a snippet inside the chunk isn’t possible, is there any other way of running some PHP on the placeholder before it is outputted?