Hi, I have this problem.
I'm using a Snippet to get and modify the format of the pub_date of a resource (translate it to spanish).
I call the snippet in a Chunk, ( the chunk is a Ditto template), but the snippet shows the pub_date of parent document (where the ditto is written) no from the Ditto results (the children) which is what I wanted.
I hope you could understand me. Any idea to get the variable from the ditto result, no from the parent?
Thanks.
I think that might work if the snippet is uncached and you use a placeholder for pub_date:
[!SnippetName? &pdate=`[+pub_date+]` !]
The Evolution parsing order might, or might not, support that.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
Exactly what I needed, thanks Rob!