hello.
I’m having trouble with a ditto call for Treasure Chest. I’ve followed Terry’s notes on Treasure Chest and I’m wanting to create a summary page of the products I’ve got available.
This is my ditto call:
[[Ditto? &startID=`12` &summarize=`5` &tpl=`catalog4tpl` &extenders=`summary` &trunc=`1` &truncSplit=`0` &truncLen=`50` &truncOffset=`10` &truncText=`Learn More About` &sortBy=`page_title` &sortDir=`DESC` ]]
I’m wanting it to limit the number of words that the ditto call is retrieving from [+introtext+]; but at the moment its returning all the text from the introtext bit.
Any suggestions? Should I give up and try PHx word_limit?
Any help would be appreciated. Cheers!
What is the content of "catalog4tpl" template chunk ?
<div class="ecommerce_item" id="ditto_item_[+id+]">
<div class="introText">[+content+]</div>
<h4><a href="[~[+id+]~]">Go to product listing</a></h4>
</div>
taken mostly from Terry’s treasure chest notes..re-arranged a bit to suit my needs.