Simplenews Template: themable newsletters
Simplenews Template is a Drupal module that extends the Simplenews module by providing a themable template with configurable header, footer and style. Header, footer and style are configurable for each newsletter independently.
Simplenews Template can with advantage be used in conjunction with RelatedContent.
Requirements
- Simplenews
- Mime Mail
- PHPTemplate based theme
Installation
Install Simplenews Template as follows:
- Download, install and configure the Mime Mail module, following the instructions for that module.
- Download, install and configure the Simplenews module, following the instructions for that module.
- Download the archive file with the latest stable version from Simplenews Template.
- Unpack the downloaded archive into your Drupal's modules directory.
- Verify that the modules directory contains a simplenews_template directory with simplenews_template.module and other files.
- Go to
admin/build/modulesand enable the module.
Configuration
There is no configuration for the Simplenews Template module itself.
Usage
Header, footer and style is setup for each newsletter individually as follows:
- If not already existing, go to
admin/content/newsletters/typesand add at least one newsletter. - Go to
admin/content/newsletters/settings, and select the newsletter to be configured. - Locate and open the collapsible section called Header.
- Fill out the text area with the content to be shown at the beginning of each issue of the newsletter. Leave blank to not include a header. Do not forget to choose appropriate input format.
- Locate and open the collapsible section called Footer.
- Fill out the text area with the content to be shown at the end of each issue of the newsletter. Leave blank to not include a footer. Do not forget to choose appropriate input format.
- Locate and open the collapsible section called Style.
- Fill out the text field called Body background color with any valid HTML color value, e.g.
#ff00ffandfuchsia. - Fill out the text area called CSS with style sheet rules valid within the HTML tags
<style type="text/css">...</style>, e.g.div.message { color: red }.
See also Simplenews Template project page.
