Hi guys, I've got a strange MIGX problem. I'm going crazy over this! I've got a getResources snippet call, and in the rowTpl I have a getImageList call to show the first image in a MIGX tv for each item. When using a chunk as template in getImageList, each row contains the MIGX data from the first item. When I use inline code as tpl, it does work as expected.
1. Getresources snippet call
[[!getResources? &parents=`62` &limit=`2` &tpl=`newsTpl` &showHidden=`1`]]
2. chunk newsTpl
This produces the right images:
[[+pagetitle]] - [[!getImageList? &tvname=`image` &tpl=`@CODE:<img src="[[+image]]" alt="[[+alt]]" />` &limit=`1` &docid=`[[+id]]` ]]
This produces the image from the first item, in every row:
[[+pagetitle]] - [[!getImageList? &tvname=`image` &tpl=`newsImage` &limit=`1` &docid=`[[+id]]` ]]
3. chunk newsImage
<img src="[[+image]]" alt="[[+alt]]" />
I feel like I'm missing something really obvious here... What could be the problem? I thought that by adding the docid this should work.
Thanks for any help!