Smart Trim implements a new field formatter for textfields (text, text_long, and
text_with_summary, if you want to get technical) that improved upon the "Summary
or Trimmed" formatter built into Drupal 7 and ported to Backdrop CMS.
After installing and enabling Smart Trim, you should see a "Smart trimmed"
option in the format dropdown for your text fields. With smart trim, you have
- The trim length
- Whether the trim length is measured in characters or words
- Appending an optional suffix at the trim point
- Displaying an optional "More" link immediately after the trimmed text.
- Stripping out HTML tags from the field
The "More" link functionality may not make sense in many contexts, and may be
redundant in situations where "Read More" is included in set of links included
with the node.
Note that HTML markup not seen by end-users will still be counted when
calculating trim length. This may be addressed in future releases.
- Install this module using the official Backdrop CMS instructions at
Bugs and Feature requests should be reported in the Issue Queue:
- Said El fazni (https://github.com/fazni/)
- Ported to Backdrop CMS by Said El fazni (https://github.com/fazni).
- Originally written for Drupal by Ben Byrne (https://github.com/drywall).
This project is GPL v2 software. See the LICENSE.txt file in this directory for