Downloads

Download tar.gz 11.46 KB
MD5: d8f9dcff9e8ee78e6cdfea391ad7c38e
SHA-1: 83551975ca4810c9644fa7039bf8dd35a4718598
SHA-256: 0753413ab8ecdbd5ff7a06771b3acc10c602d0f20150589760dd05bbb6ea39a0
Download zip 14.21 KB
MD5: c5d99c6d8139aeffc906cdad86972974
SHA-1: 4b92e7f4487c178e9c378ae4aae910485514f604
SHA-256: 6619a221c0053d533e77db58f654fcc8932dff5754c7116ec8a61beb3ca33b26

Release notes

Fixes:
#1160374: emogrifier path issue when base_path() and DRUPAL_ROOT contain same 'sitename' folder

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: 25 May 2011 at 11:16 UTC
Last updated: 25 May 2011 at 11:16 UTC
Bug fixes
Unsupported

Other releases