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.
To install Simplenews Template you need:
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/modules
and enable the module.
There is no configuration for the Simplenews Template module itself.
Header, footer and style is setup for each newsletter individually as follows:
If not already existing, go to admin/content/newsletters/types
and 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. #ff00ff
and fuchsia
.
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 }
.
Simplenews Template. Copyright © Thomas Barregren.
Simplenews Template is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Simplenews Template is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.