You are here

README.txt in Smart Trim 8

Same filename and directory in other branches
  1. 7 README.txt
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.

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 control over:

1. The trim length
2. Whether the trim length is measured in characters or word
3. Appending an optional suffix at the trim point
4. Displaying an optional "More" link immediately after the trimmed text.
5. 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.

Initial release is strictly for Drupal 7. No backport to Drupal 6 is planned.

Note that HTML markup not seen by end-users will still be counted when
calculating trim length. This may be addressed in future releases.

Smart Trim was initially developed by Ben Byrne while at
New Signature (bbyrne@newsignature.com) but Ben is now at
Cornershop Creative (ben@cornershopcreative.com).

8.x branch started by Paul Ferlito (https://drupal.org/user/511172);

File

README.txt
View source
  1. Smart Trim implements a new field formatter for textfields
  2. (text, text_long, and text_with_summary, if you want to get technical) that
  3. improved upon the "Summary or Trimmed" formatter built into Drupal 7.
  4. After installing and enabling Smart Trim, you should see a "Smart trimmed"
  5. option in the format dropdown for your text fields.
  6. With smart trim, you have control over:
  7. 1. The trim length
  8. 2. Whether the trim length is measured in characters or word
  9. 3. Appending an optional suffix at the trim point
  10. 4. Displaying an optional "More" link immediately after the trimmed text.
  11. 5. Stripping out HTML tags from the field
  12. The "More" link functionality may not make sense in many contexts,
  13. and may be redundant in situations where "Read More" is included in
  14. set of links included with the node.
  15. Initial release is strictly for Drupal 7. No backport to Drupal 6 is planned.
  16. Note that HTML markup not seen by end-users will still be counted when
  17. calculating trim length. This may be addressed in future releases.
  18. Smart Trim was initially developed by Ben Byrne while at
  19. New Signature (bbyrne@newsignature.com) but Ben is now at
  20. Cornershop Creative (ben@cornershopcreative.com).
  21. 8.x branch started by Paul Ferlito (https://drupal.org/user/511172);