I can’t seem to get my image tv to display in my document summaries on a ditto-generated page. Any known reasons why this might happen? Any suggested troubleshooting?
Thank you!
Doublecheck &hiddenFields=`yourImageTv` parameter contains your image tv.
What is your Ditto call and its template ?
Ditto Call:
[[Ditto?parents=`10`&depth=`1`&display=`all`&tpl=`dittoGearboxesContentTemplate`&tplLast=`dittoGearboxesContentLastTemplate`&sortBy=`menuindex`&sortDir=`ASC`]]
Chunk Name:
{{dittoGearboxesContentTemplate}}
Chunk Code:
<div class="product-intro-item" id="product_item_[+id+]">
<a href="[~[+id+]~]">
<div class="subMastHeadSummary">
[*subMastheadSummaryImage*]
</div>
<h3 class="product_pageTitle">[+title+] [+longtitle+]</h3>
<div class="product_introText">
[+introtext+]
</div>
</a>
</div>
Variable Name (TV):
[*subMastheadSummaryImage*]
Ok, well the problem is solved, thanks to oksushi on the #modx channel.
Thanks oksushi!
Ok suggested that I was using the TV itself in the ditto tpl chunk, rather than the placeholder. I changed it to the placeholder and everything works now.
Thanks!