TextTrimmer

Developer

Biber Ltd. - Can Berkol

3rd Party (Commercial)


EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

This plugin is used to trim text based on given options.

Description:

This plugin is used to trim text based on given options.

Feature Set:

     
  • Disregards extra whitespaces
  •  
  • Cut text either from start or from end
  •  
  • Define the cut limit
  •  
  • Customizable “more” indicator
  •  
  • Smart cut limit: calculates actual cut point according to defined indicator.

How to use?:

Standart Usage

{exp:bbr_texttrimmer limit="10"}
    
      Some text exist here.
    
{/exp:bbr_texttrimmer}

Output: Some te…

It comes default with “5”

Using With Special Indicator

 {exp:bbr_texttrimmer limit="10"  cut_indicator = "indicate"}
    
      Some text exist here.
    
{/exp:bbr_texttrimmer}

Output: Soindicate

Using With Cut From

{exp:bbr_texttrimmer limit="10"  cut_indicator = "..." cut_from = "start"}
    
      Some text exist here.
    
{/exp:bbr_texttrimmer}

Output: ...t here.

Other Options: start(comes with default), end.

Using With Trim Option

{exp:bbr_texttrimmer limit="10" cut_indicator = "..." cut_from = "end" trim="right"}
    
      Some text exist here.
    
{/exp:bbr_texttrimmer}

Output: ...

Other Options: both (comes with default), start, end, none

Installation

Unzip the zip file and copy “bbr_texttrimmer” folder to “YOUR_APP_DIR/system/expression_engine/third_party” folder.

This entry was created December 29, 2011, 3:30 pm.
This entry was last updated November 23, 2014, 9:44 am.

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!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.