Any ideas why getResources is showing duplicate content for 3 different results?
I call it like this:
[[!GetResources? &parents=`5` &limit=`3` &sortby=`id` &showHidden=`1` &includeTVs=`1` &processTVs=`1` &tpl=`CallOutTpl` &tplFirst=`CallOutFirstTpl` &tplLast=`CallOutLastTpl` ]]
the three chunk templates referenced look like:
tplFirst
<div class="callout first [[+idx]]">
[[$CalloutGuts]]
</div>
tplLast
<div class="callout last [[+idx]]">
[[$CalloutGuts]]
</div>
tpl
<div class="callout mid [[+idx]]">
[[$CalloutGuts]]
</div>
The CalloutGutsfor all three wrappers are:
<h4>[[+longtitle]]</h4>
[[+tv.CalloutImage]]
<div class="text">
[[+introtext]]
</div>
<a class="button learn" href="[[~[[+id]]]]"><span>Learn More</span></a>
The three resources that are children of resource id 5 all have different content, but when these are displayed - all the title, image,introtext and id values are all the same...
I have tried omitting the sortby parameter as per the docs, but no dice there.
any thoughts?
-thanks
-sean