Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

Introduction

Text Rotator Filter is a very simple and lightweight module giving node author a filter to create a 'text rotator' effect.
It does so by integrating Simple Text Rotator jQuery plugin with text format filters.

You can see it in action on this page: http://freelance-drupal.com

Install and manage dependencies via composer

1. Install the module itself :
composer require drupal/text_rotator_filter

2. Install wikimedia/composer-merge-plugin :
composer require wikimedia/composer-merge-plugin

3. Edit your "merge-plugin" section under "extra" in your *root* composer.json so it looks like:

  "extra": {
    "merge-plugin": {
      "include": [
        "modules/contrib/text_rotator_filter/composer.libraries.json"
      ],

Beware to change the path to your contrib module folder if under web or docroot for instance

4. Run a locked update:
composer update --lock

Install and manage dependencies the old way

1. Download and unzip text_rotator_filter module from https://www.drupal.org/project/text_rotator_filter
and place it into /modules/contrib folder.

2. Download and unzip Simple Text Rotator from https://github.com/peachananr/simple-text-rotator
and place it into /libraries folder so the following path exists
/libraries/simple-text-rotator/jquery.simple-text-rotator.min.js

Configuration:

1. Move to /admin/config/content/formats.
2. Edit the desired text format.
3. Enable the text rotator filter.
4. Configure the filter options and save.

Usage

- Settings can be changed per format at admin/config/content/formats/manage/xxx
- In your content, simply insert your text as follow:
Here is a [rotate]simple|easy|cute[/rotate] way to rotate text.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.3 Stable Dec 29, 2024
2.0.2 Stable Dec 29, 2024