Just started using this, looks like it could be really useful. Having some issues with is so far though. Here’s my syntax (inside a weblog tag):
{exp:trunchtml chars="185" ending="..."}{summary}{/exp:trunchtml}
However, my summary is being truncated well short of the specified 185 characters. Any thoughts?
Thanks
Make sure you are using the most recent version of trunchtml (version 1.1 or above) and then use the option: exact=”yes”. From the manual: Otherwise text will be cut after a space to prevent cutting words in the middle. If you have a long word that takes you over the 185 chars it will remove the entire word leaving you with less than 185 chars.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.