Hi,
I’ve got a Ditto call in a root document "locations", the call below aggregates all the child documents into one. Each child document has template variables. The root document and child have different templates, but both are allowed to access/process these variables.
Ditto call:
[[Ditto? &startID=`6` &tpl=`each-location` ]]
Everything works fine when I go and see child documents, but when I go to parent, I only see default values of the TVs.
Has anyone had a problem like this? I am new to template variables and to MODx.
Ditto template:
<strong>[+title+]</strong>
[*location-photo*]
[*location-tel*]
[*location-addr*]