Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 11.59 KB
MD5: 4b3943111e895e197814694afaac048d
SHA-1: 3b78878932c9128c50fac8095499107f0f3f6ccc
SHA-256: c0a2ad107680c6fb8d493c6751bc9cd28bb776a2714c7af83586f307256ee878
Download zip 14.37 KB
MD5: 3ee912e54d168c5310492bfd0401cce3
SHA-1: d32ae085ba16b6885c01e966177933d07329265c
SHA-256: 00bd727cd6a5af562b5b16dcc06ee79ee98dfceefc64cc275964e3f931bb9fba

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

Other releases