Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Text Snip Formatter

1 sites No security coverage
View on drupal.org

This module allows you to control how text fields are displayed by letting you define specific snippets or portions of text to show. It's useful for creating custom summaries or excerpts of your content.

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
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

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