Emogrifier
Uses the emogrifier class library as an input filter to convert stylesheet rules to inline style attributes. This ensures proper display on email and mobile device readers that lack stylesheet support.
Installation
-
Ensure that the PHP Document Object Model extension is available. Emogrifier requires the dom extension and will not work without it.
-
Download, install, and enable the Libraries module.
-
Create a library directory for the Emogrifier library in one of the following locations:
- sites/all/libraries/emogrifier (recommended)
- sites/DOMAIN/libraries/emogrifier
- profiles/PROFILE/libraries/emogrifier
DOMAIN is your website domain name, and PROFILE is the installation profile you selected when installing Drupal.
-
Download the emogrifier library from GitHub or Pelage (author) and place it within the library directory you just created.
Directory structure: sites/all/libraries/emogrifier/Classes/Emogrifier.php
-
Install this module and enable it.
-
Visit admin/settings/filters or click on
Administer >> Site configuration >> Input formats
to set up a new input format or add Emogrifier filtering to an existing format.
Project information
- Module categories: User Engagement
- 2,444 sites report using this module
- Created by pillarsdotnet on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-2.x-dev updated 16 Feb 2017 at 06:58 UTC
Development version: 7.x-1.x-dev updated 10 Apr 2011 at 12:06 UTC