Hi,
I have a chunk on every page of my site, which calls in a summary of the three latest posts.
So my resource tree looks like this:
main category (ID=2)
-- categorypage1
----post 1a
----post 1b
--categorypage2
----post 2a
----post 2b
--categorypage3
----post 3a
----post 3b
So I have a PDO resources call like this:
[[pdoResources?
&parents=`2`
&depth=`1`
&limit=`3`
&includeTVs=`Image`
&tpl=`latestCategoryTpl`
]]
Then in my chunk I have this:
<li>
<img src="[[getResourceField? &id=`[[*parent]]` &field=`Image` &isTV=`1` ]])" />
</li>
So, what I'm trying to do is pull in the TV 'Image' from the PARENT of each post that is pulled in, but it's not pulling anything in.
I've tried various things, but have got tied up in knots!
Can anyone clarify?
I hope the above makes sense.
Thanks
Andy