Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Smart Trim

Smart Trim implements a new field formatter for textfields (text, text_long, and text_with_summary, if you want to get technical) that improves upon the "Summary or Trimmed" formatter built into Drupal.

Trim length and units

Set up smart trimmed with default configuration

Adding suffix to the text

You can add suffix which will be displayed at the end of your text.

Summary settings

Configure settings for summary

Additional Settings

Additional settings for Smart Trim

Wrap trimmed content

Adding wrapper and css class to the trimmed content.

More link

Adding more link to the trimmed content.

Extending Smart Trim

Details on how the Smart Trim module's 'FieldFormatter' plugin class could be extended.

Guide maintainers

volkswagenchick's picture
markie's picture