Hi,
There seems to be lots of posts and problems about [+summary+], but none of them address my problem! I want to truncate the summary to a particular length. I have included the `summary` extender, and set truncLen to 95. It is still not truncating anything!
Here is my ditto call (tried it both cached and uncached just in case, with and without `truncSplit`):
[!Ditto? &depth=`0` &parents=`0` &filter=`ShowOnHomepage,1` &tpl=`hpItem` &hiddenFields=`articleauthor` &dateFormat=`%B %Y` &extenders=`summary` &trunc=`1` &truncSplit=`0` &truncLen=`95` !]
Here is my template:
<div class="hp_item">
<h3 class="hp_itemtitle"><a href="[~[+id+]~]" title="[+pagetitle+]">[+pagetitle+]</a></h3>
<div class="hp_documentInfo">by <strong>[+articleauthor+]</strong> in [+date+]</div>
<div class="hp_introtext"><a href="[~[+id+]~]" title="[+pagetitle+]">[+summary+]</a> <span class="readMoreLink">[+link+]</span></div>
</div>
Thanks for any help!