Install

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 11.59 KB
MD5: e6aa7775747cdfc3783ad4472447f9be
SHA-1: 69519b1f51e45cb6e99e97a10680d0a138d15b53
SHA-256: a7ca2e242e9724e18c4bdc12584f0d19954b873cfda71db3f50383fdbc5f15d1
Download zip 14.37 KB
MD5: 4ba808daf7226e17391cc739dee4e42e
SHA-1: b48536bd01e31caa483b7fd466786ae18eec31c4
SHA-256: 4fd6f336537553687ead2948bcf34c19269874e35d19a9ad22f87f7dcd97a0a4

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

Other releases