I have a getResources call in the template of a page. The template (tpl) for this call contains 2 other getResources calls. It seems that if I hard-code the &parents parameter for these 2 calls eg: &parents=`11`, it all works fine. But if I put &parents=`[[*id]]` or &parents=`[[*parent]]` then it doesn’t work. It seems that the 2 getResources calls in the tpl chunk cannot find the IDs for the &parents parameter.
Is there any reason why? In MODx Evo using Ditto, this sort of thing worked fine. Is it something to do with the parsing order?
I’ve been looking at this for hours and as soon as I post the problem on here, I go and bloody solve it!
The problem was inside tplGalleryOuter, I had [[*id]] in the &parents parameter, I changed this to [[+id]] and it now works.