Plugin

EE 1
EE 2
Snippet

Developer

Codesly - David Dexter

3rd Party (Free)


Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

Creates a simple snippet from a block of text.

Wrap a block of test in the tag pair. The plugin will strip the tags and return a preview of the block with the
total number of characters as set by the ‘total’ parameter. If the original text was longer than the total ellipsis will
be added.

{exp:snippet total=“100” word=“true” ellipsis=”...”}

The block of text that you want to snippet.

{/exp:exp:snippet}

Parameters:

* {total} = default 500

* {word} = Tells the plugin if you want it to end the snippet on the last full word. Set to “true” by default.

* {ellipsis} = Set to ‘...’ by default. You can pass any text that you want appended to the end of the snippet.

Snippet Links

This entry was last updated September 2, 2010, 3:30 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!

1 Review:

flying fish 10.29.10

Rating - {addon_rating_average}

simple and lightweight, perfect for when you don’t want html tags in your excerpt