Newsletter templates

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

The e-mails sent by the Newsletter module are defined by templates. These templates can be managed at CMS Desk -> Tools -> Newsletters -> Templates.

 

devguide_clip0648

 

There are three types of templates:

 

Newsletter issue - this is a template that defines the layout and design of static newsletter issues. It contains editable regions where newsletter authors can enter the content.
Subscription - template of the e-mail message sent when a user subscribes to the newsletter.
Unsubscription - template of the e-mail message sent when a user unsubscribes.

 

All types of newsletter templates can contain the following macro expressions anywhere in the text:

 

{%Email%} - resolves into the e-mail address of the subscriber
{%FirstName%} - resolves into the first name of the subscriber
{%LastName%} - resolves into the last name of the subscriber
{%UnsubscribeLink%} - resolves into a link to the unsubscription page

 

Additionally, other types of macro expressions as seen in Appendix A - Macro expressions can be entered into templates.

 

Editing newsletter issue templates

 

The issue templates consist of:

 

Header (HTML) - the leading HTML code including the <html> element.
Body - the layout of the e-mail - here you can enter static text, use the WYSIWYG editor and insert macros and editable regions. Editable regions allow users to enter the content of the particular newsletter issue. They can be inserted using the Insert editable region section:

 
devguide_clip0649
 
The region is inserted as a macro expression in format: $$regionName:width:height$$
 

Footer (HTML) - the closing HTML code.
CSS stylesheet - the CSS styles used for the newsletter; these styles are used by the newsletter issue editors and they are included in the e-mails.

 

File attachments can be added to the template at the bottom of the page.

 

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?newsletter_templates.htm