Hi There,
I cannot get my Migx TV (images) to display at all.
I have a getPage call in my page template as per below:
[[!getPage?
&element=`getResources`
&tpl=`newsPost`
&parents=`4`
&limit=`3`
&includeContent=`1`
&includeTVs=`1`
&includeTVList=`Image,NewsImage`
&processTVs=`1`
&processTVList=`Image,NewsImage`
&showHidden=`1`
&hideContainers=`1`
&cache=`0`
&pageVarKey=`page`
&sortby=`{"publishedon":"DESC"}`
]]
Within the tpl (newsPost), I have the following:
[[!getImageList?
&tvname=`NewsImage`
&tpl=`BigNewsImageTpl`
&toPlaceholder=`BigNewsImages`
&where=`{"Size:=":"large"}`
&limit=`10`
]]
[[!getImageList?
&tvname=`NewsImage`
&tpl=`SmallNewsImageTpl`
&toPlaceholder=`SmallNewsImages`
&where=`{"Size:=":"small"}`
&limit=`10`
]]
<div class="post">
<h2>[[+pagetitle]]</h2>
<p class="date">[[+publishedon:strtotime:date=`%b %d, %Y`]]</p>
<div class="entry">
[[+BigNewsImages]]
[[+SmallNewsImages]]
<div>
[[+content]]
</div>
</div>
</div>
The 'pagetitle', 'date', and 'content' are rendering, but none of the Tvs (Image,NewsImage) are rendering.
Am I confusing things by having a getImageList within a getPage call?
I've tried everything I can think of - caching, not caching etc - but cannot get them to show.
Help!!!!
Thanks so much
Andy