Hi, sorry for reactivating an older thread, but it seemed more logical to place the query here than start a new one.
How do I get an image stored as a MigX TV to display in my RowTpl? Currently It's unable to find the image url, alt text and title.
This is my getrelated call:
[[getRelated?
&limit=`3`
&parents=`303`
&fields=`pagetitle:10,tv.article_tags:7,introtext:5`
&tplOuter=`RCI.RelatedOuter`
&tplRow=`RCI.RelatedRow`
&returnTVs=`Image,Alt,Caption`
]]
And this is my RCI.RelatedRow:
<li>
<div class="related-image">
<a href="[[~[[+id]]]]"><img src="[[+Image:phpthumbof=`w=200&h=134&zc=1`]]" alt="[[+Alt]]" title="[[+Caption]]" /></a>
</div>
<div class="related-text">
<a href="[[~[[+id]]]]">[[+longtitle:default=`[[+pagetitle]]`]]</a>
</div>
</li>
I'm guessing I need to run a getResources call to get the info for the Tvs that getRelated needs first, but how exactly do I incorporate this into RowTpl? I am having a bit of blank moment here (been a looooong day!)