Downloads

Download tar.gz 11.45 KB
MD5: 5c5c6e11504b81557d63f9d20afa605e
SHA-1: 631ff2d56717fdfd61fb11ddb927990016ad6750
SHA-256: 88c67d65eb2da1b9afd9faf6ff962132282756e3f21fc2ca773b17b021f8f74b
Download zip 14.22 KB
MD5: 5a9651faacd5caca2d36178fbe67d45a
SHA-1: d0f3801492a18ba6a1f25b16775784da0ada41e7
SHA-256: 08e315a029819199c340cdfaaed3677889174b8af3fdfa143d35bc04a7c858d8

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

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

Other releases