Install

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 11.57 KB
MD5: cfa482711316bc0874579879e315ded7
SHA-1: 23a0d4e3f4e46964ce27cdbb6eeb1b506be73272
SHA-256: 1192b6ef2c1a966dbdbca798fe36dc0ec567036bfe81111b5b4a16f8e0f6227e
Download zip 14.37 KB
MD5: 6cea5fa1a90e720c549a9d1a7618e043
SHA-1: 2573490ab096759b315d7b96ef9250a94c0e67db
SHA-256: f02f7067a74e2343a00a10bf9456c7b0e09302604b9d3f78826eae55bdf265ef

Release notes

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: 18 Apr 2011 at 21:52 UTC
Last updated: 18 Apr 2011 at 21:56 UTC

Other releases