Drupal is a registered trademark of Dries Buytaert

text_snip_formatter

1 sites No security coverage
View on drupal.org

Text Snip Formatter is a Drupal module designed to provide enhanced control over the display of text fields by allowing users to define specific snippets or portions of text to be displayed. This functionality is particularly useful for creating customized summaries or excerpts of content.​

Please Note: This module requires no additional modules outside of Drupal core.​

Table of contents

  • Requirements
  • Installation
  • Configuration
  • Features
  • Works With
  • Use Case Examples
  • Supporting Organizations

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.​

Configuration

  • Navigate to Administration » Structure » Content types, and select the content type you wish to configure.​
  • Click on the "Manage display" tab.​
  • Locate the text field you want to configure and click on the gear icon to adjust its display settings.​
  • From the "Format" dropdown menu, select "Text Snip Formatter".​
  • Configure the formatter settings as desired, specifying the snippet length or other parameters.​
  • Click "Update", then "Save" to apply the changes.​

Features

  • Custom Snippet Length: Define the exact length of text snippets to display for each text field.​
  • Flexible Configuration: Apply different snippet settings to various text fields across content types.​

Works With

Text Snip Formatter is designed to integrate seamlessly with Drupal core and other contributed modules that utilize field formatters, such as Views and Panels.​

Use Case Examples

  • Customized Teasers: Display tailored excerpts of content in teaser views, ensuring consistent and concise summaries.​
  • Content Previews: Provide readers with a glimpse of longer articles by showing a predefined portion of the text.​
  • Consistent Formatting: Maintain uniformity in how text snippets are presented across different sections of the site.​

Supporting this Module

If this module saves you time or adds value to your project, you can show your support in two ways:

  • Buy me a coffee to say thanks:
    https://buymeacoffee.com/tylerhastain
  • Want to contribute or sponsor development?
    Reach out directly if you're interested in helping improve or maintain the module — contributions, ideas, and support are always welcome!

Activity

Total releases
2
First release
Apr 2025
Latest release
11 months ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable Apr 2, 2025
1.0.x-dev Dev Apr 2, 2025