We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Yet another text-limit / excerpt plugin

Development and Programming

silenz's avatar
silenz
1,648 posts
18 years ago
silenz's avatar silenz

I changed it in the plugin, too.

       
sm9's avatar
sm9
352 posts
18 years ago
sm9's avatar sm9
I changed it in the plugin, too.

Thanks, even better - saves me keeping track of hacks!

Thanks,

Ste

       
Ryan M.'s avatar
Ryan M.
1,511 posts
18 years ago
Ryan M.'s avatar Ryan M.

Thanks for the update, silenz. The less hacks the better!

       
Nelly's avatar
Nelly
81 posts
17 years ago
Nelly's avatar Nelly

This plugin saved my life. It works perfectly. Thanks a lot, silenz!

By the way, they still have an older version in the Add On library.

       
silenz's avatar
silenz
1,648 posts
17 years ago
silenz's avatar silenz
By the way, they still have an older version in the Add On library.

Yeah, just when I wanted to resubmit, the Developer Guidelines were published. I wanted to wade through them first but still haven’t found the time to do it properly :red:.

       
silenz's avatar
silenz
1,648 posts
16 years ago
silenz's avatar silenz

I just updated TruncHTML to version 1.3 fullfilling a feature request.

There’s now a threshold-parameter. If set, the text is only truncated if it is actually longer than specified in the parameter.

Example:

{exp:trunchtml chars="500" threshold="600"}
{body}
{/exp:trunchtml}

The text will only be truncated if it is longer than 600 characters, otherwise the full text is returned.

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.