Kentico CMS 7.0 Context Help

General tab

General tab

Previous topic Next topic Mail us feedback on this topic!  

General tab

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

Here you can modify the selected newsletter template. The following basic properties may be configured:

 

Display name

Name of the template that is displayed in the newsletter interface.

Code name

Name of the template that is used as an identifier, for example in URLs or the API.

Thumbnail

Allows you to upload an image that will be displayed as a representation of this template in the selection dialog (when creating new newsletter issues).

 

Only available for Newsletter issue templates.

Subject

Can be used to set the subject of the e-mails based on this template. This field is not available for Newsletter issue templates, since the e-mail subject is entered locally when writing individual issues.

 

The content of the template's layout is defined through the fields described below:

 

Header (HTML)

The opening HTML code of the e-mail message, including the <html> element.

Body

Defines the main layout of the e-mails that use this template. You can enter static text and other types of content through the WYSIWYG editor.

 

Newsletter fields may be inserted anywhere in the body of the template through the following expressions:

 

{%ActivationLink%} - only available for Double opt-in templates. It is resolved into a link to the subscription approval page, as defined by the Approval page URL property of the given newsletter.

{%Email%} - resolves into the e-mail address of the e-mail recipient.

{%FirstName%} - resolves into the first name of the recipient.

{%LastName%} - resolves into the last name of the recipient.

{%UnsubscribeLink%} - resolves into a link to the unsubscription page, as defined by the Unsubscription page URL property of the given newsletter.

 

To easily add these expressions, click the Insert macro (ckeInsertMacro) button on the editor toolbar and select the appropriate option under the Context specific objects section.

 

Additionally, all types of macro expressions as seen in Developer's Guide -> Development -> Macro expressions are supported.

 

Newsletter issue templates may contain editable regions where editors can enter the content of individual newsletter issues. These can be inserted using the Insert editable region section below the editing area. Regions are inserted as expressions in format:

$$regionName:width:height$$

Footer (HTML)

The closing HTML code.

CSS stylesheet

May be used to define CSS classes that will be applied to the e-mails based on this template.

 

The following actions are available in the page header:

 

Save Save - click this button to confirm any changes made to the template.

SpellCheck Spell check - allows you to check the body content of the template for misspelled words.

Attachments Attachments - opens a dialog that can be used to attach files to the newsletter template and manage them as needed. When e-mails based on the template are sent out, the attachments will be included. For example, if you wish to display a logo image somewhere in the template layout and have it stored directly in the e-mails, you can upload it as an attachment and then insert it into the body content. In the case of newsletter issue templates, further attachments may also be added when creating specific issues.

 

If you wish to increase the size of the workspace, you can click the FullSreenUI Full screen button to hide the main navigation menus. It is also possible to resize the Body editing area by dragging its bottom right corner.

 

More resources can be found in:

 

Developer's Guide -> Modules -> Newsletters -> Overview

Developer's Guide -> Modules -> Newsletters -> Newsletter templates