EE 1
EE 2
Power Truncate

Developer

Charlie Hawker - dooper3

3rd Party (Free)

64 downloads (last 90 days)

Creative Commons Attribution Non-Commercial Share Alike Download v1.1

Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

Plugin

Tags

Truncating plain text and HTML has never been easier thanks to this powerful, intuitive add-on for both EE1 and EE2.

Features

- Specify length to truncate text to (pretty important really!)
- Specify whether to truncate to the middle of a word or fall back to the last full word
- Add suffixes to truncated text
- HTML tags automatically closed for you!
- If text contains HTML, these are ignored when calculating the length to truncate to

Usage

The following example code is a potential way to use the plugin. Substitute ‘weblog’ for ‘channel’ if using EE2:


{exp:weblog:entries weblog="news" limit="5"}
  {title}
  {exp:power_truncate length="200" cut_words="n" suffix="..."}
    {body}
  {/exp:power_truncate}
{/exp:weblog:entries}

Enjoy!

Download Power Truncate

EE Version Downloads Add-On Version Release Date
1.x Download 1.1 2010-12-03 02:00 AM
2.+ Download 1.1 2010-12-03 02:00 AM

Power Truncate Links

This entry was created November 29, 2010, 1:06 pm.
This entry was last updated February 7, 2012, 12:34 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!