Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 11.57 KB
MD5: bc87eafad5e0489ba4059f035bf698eb
SHA-1: 3dd22c175f4ed7b46aae86d061204384f384dc4f
SHA-256: eb51cb066807467f88323db19e2dd3e44502695262289a3257ee073dd97cb693
Download zip 14.37 KB
MD5: 6f3c48ad7e6ac84339a0fad9d2ca41ad
SHA-1: 534e2f55c0c3af188ec9c4a6dd79ce752a98450d
SHA-256: 5fd8ff106d437e8c1ce254f514f74d23317f55d3a8934340c35d048ec2b12172

Release notes

Changes:
Fixes from coder review with translatability checks turned on.

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

  1. Ensure that the PHP Document Object Model extension is available. Emogrifier requires the dom extension and will not work without it.

  2. Download, install, and enable the Libraries module.

  3. 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.

  4. Download the emogrifier.php and place it within the library directory you just created.

  5. Install this module and enable it.

  6. Visit admin/configure/content/formats or click on

    Administer >> Configuration >> Content authoring >> Text formats

    to set up a new input format or add Emogrifier filtering to an existing format.

Created by: pillarsdotnet
Created on: 15 Apr 2011 at 20:07 UTC
Last updated: 15 Apr 2011 at 20:11 UTC
Bug fixes
Unsupported

Other releases