BBD Chopper

Developer

Black Belt Designs

3rd Party (Free)

260 downloads (last 90 days)

GNU General Public License v3

EE Version Support

  • ExpressionEngine 3
  • ExpressionEngine 4

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

Allows you to create excerpts of your entries by removing HTML tags and limited the excerpt by character count, word count or a specific marker you insert into your content. Thanks to Brett DeWoody for providing Hacksaw. I needed one for EE3 and created the same functionality from it since it was let go.

If you ever used Brett DeWoody’s EE Hacksaw, then you were probably sad to see it was labeled INACTIVE. I know I was. That’s why I revived it in an ExpressionEngine 3 friendly version.

Click here to lend your support to: ExpressionEngine Chopper Addon and make a donation at pledgie.com !

Chopper

All of the functionality remains the same as it did with the older versions in EE2.

Chopper takes your entry’s content and whittles it down to a more manageable size. It strips the HTML and limits the excerpts by character count, word count or cutoff marker.
To use Chopper simply wrap the content you want to truncate with the exp:chopper tag, like this:

{exp:chopper}
   {your_content}
{/exp:chopper}

There are several parameters you can use to control how the content is truncated. These options are:

chars   = “”      // Limit by number of characters
words   = “”      // Limit by number of words
cutoff = “”        // Limit by a specific cutoff string
append =””      // String to append to the end of the excerpt
allow   = “”      // HTML tags you want to allow. Ex allow=”

For example, if you want to limit your excerpt to 100 words you would do this:

{exp:chopper words="100"}
   {your_content}
{/exp:chopper}

By default Chopper will strip all HTML from your excerpt. If you would like to keep some basic HTML you can use the"allow” parameter to keep specific HTML tags. For example, let’s say you want to keep <p> and <b> tags:

{exp:chopper words="100" allow="<p><b>"}
   {your_content}
{/exp:chopper}

This would strip all HTML except paragraph (<p>) and bold (<b>) tags.

Another way to limit content is by a cutoff string. This is similar to the way Wordpress’s “more” feature works. In your content you could add a specific string to indicate the spot you want the excerpt to stop. Let’s say you use “<!—END—>”. To cut the excerpt off at this location you would do this:

{exp:chopper cutoff="<!-- END -->"}
   {your_content}
{/exp:chopper}

The “cutoff” parameter can be coupled with the “words” parameter in case you forget to add the cutoff string to some of your entries. This way the excerpt will be truncated at the cutoff string, OR after X words.

You can add any string at the end of the excerpt using the “append” parameter, like this:

{exp:chopper words="100" append="..."}
   {your_content}
{/exp:chopper}

This would append “...” to the end of the excerpt.

I am not sure what all other addons this will work with right now since there are so few ready for EE3 right now.

Download BBD Chopper

EE Support Downloads Add-On Version Release Date
3.0.0+ Download 1.0.2 Feb 27, 2017
3.0.0+ Download 1.0.3 Jan 4, 2018

BBD Chopper Links

This entry was created February 26, 2016, 12:41 pm.
This entry was last updated January 4, 2018, 3:21 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!

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.

6 Reviews:

Biscuiterie 05.20.18

Biscuiterie
Rating - {addon_rating_average}

Very useful and effcicent. Thanks a lot.

FirstClassCode 02.28.17

FirstClassCode
Rating - {addon_rating_average}

Great plugin, does exactly what we need it to do. Good job!

Loughlin 02.23.17

Loughlin
Rating - {addon_rating_average}

Top marks to Black Belt Design.  Great to see a Hacksaw replacement for EE3.  Kudos!

ejaeDesign 02.03.17

ejaeDesign
Rating - {addon_rating_average}

Thanks for making this available for EE3! So glad to have this after EE Hacksaw was not ported over.

octopusink 09.15.16

octopusink
Rating - {addon_rating_average}

Works as advertised! I was dependant on Hacksaw, so was really glad to find an EE3 version.

toolstudios 07.11.16

toolstudios
Rating - {addon_rating_average}

Thanks for this!!!  Works just like it says it does!