How To: Basic E-news

Last updated on
30 April 2025

Installation and Setup

  1. Download and install Basic E-news module (see: Installing contributed modules).
  2. Download the emogrifier class and unpack it within enews/emogrifier so that the directory structure is [path-to-modules]/enews/emogrifier/emogrifier.php
  3. Create or assign an existing content type as a Newsletter on the content type edit form ("Add a check to this box if this node type can be used as a newsletter.")
  4. [optional]: Add raw CSS, select from your theme's existing CSS files, or assign arbitrary CSS files from your filesystem to your newsletter
  5. [optional]: Add enews-specific regions to your theme's .info file, and edit the newsletter content type to include these regions.
  6. [optional]: To override the default enews template, copy enews.tpl.php to your site's theme(s) directory

Caveats and Debugging

  • When making changes to your theme -- including copying enews.tpl.php and changing your theme's .info file -- you must clear your site's theme cache!
  • If your newsletter preview does not reflect changes, re-save the newsletter node. This will force enews to regenerate and re-emogrify the exported text and HTML.

Help improve this page

Page status: Not set

You can: