0

I have Drupal v7 and installed the Simplenews module, but now when I send a newsletter, I need to edit the HTML format.

Where can I edit this template?

1

from this tutorial website I found after a quick google search: http://www.wdtutorials.com/2012/07/06/drupal-7-how-create-newsletters-simplenews#.VCEqY_l_uVM

  1. Using templates First select the theme you like to use to render the emails in

/#overlay=admin/config/system/mailsystem

enter image description here

There are 4 template files you can override in sites/all/modules/simplenews/theme:

  • simplenews-block.tpl.php
  • simplenews-multi-block.tpl.php
  • simplenews-newsletter-body.tpl.php
  • simplenews-newsletter-footer.tpl.php

Just copy them to your theme templates folder (like themes/bartik/templates) and edit them.

  • Thank you, But I copy theme and send it, i see in footer some text, from where can edit it ? – Khalid Almallahi Sep 23 '14 at 8:27
1

Once you've downloaded and installed the Simplenews module, your best bet is to also download and install the Mimemail module, which will allow email configuration to be set to use HTML rather than plain text.

Once Mimemail is installed, in its directory you should find a *.tpl.php file - this is the template you'll need to copy and drop into your theme among the other template files.

Edit that copy in order to change the HTML output of your newsletter email.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.