Hi everyone.
i'm trying to loop through child pages which all have a Gallery (the modx Gallery addon) and then get the cover picture from each gallery. At the moment i have this
[[!getResources? &parents=`[[*id]]` &tpl=`projectsTpl` &includeContent=`1` &includeTVs=`1` &processTVs=`1`]]
and then this in my chunk
This obvious just outputs the id of the gallery, but putting parameters on the above TV has no effect. Does anyone know how i can do this please? In the page i would get the gallery thumbs thus:
[[!Gallery? &album=`[[*Gallery]]` &thumbTpl=`galItemFull`]]
just to see if i could get this to work i tried adding those params to the tv like this
[[+tv.Gallery? &album=`[[*Gallery]]` &thumbTpl=`galItemFull`]]
but it still just outputs the id. I pretty new to modx and no doubt missing some fundamental principle of how to do this but i'm finding it had to locate practical examples of this. Any help would be much appreciated
Thank you