A Newsletter Template will contain the layout and styles for the newsletter. The most exciting update in the version 8 newsletter editor is that you can now have two columns of articles instead of just one. In order to incorporate this template into our system, you'll need to add variables listed below, such as an article subject, article copy text, or the table of contents.
- Open the Newsletters folder
- Click Newsletter Templates
- Click Add Newsletter Template
- Insert the HTML for the template into the Source Code or create the layout using the message editor tools
Insert variables into the header sectionVariableDescription
%%date%% Displays the date entered on the newsletter date field %%volume%% Displays the volume as entered on the newsletter volume field
- Define the article section using special tags in the HTML of the template. (If you do not add a section such as the read more link, that information simply will be omitted. )
All of the code between the <!--cinews:contentstart--> and <!--cinews:contentend--> tags will be repeated for every article added to this newsletter
- Section of articles
The name of the section for a group of articles will appear within the <!--cinews:sectionstart--> and <!--cinews:sectionend--> tags
The article will appear within the <!--cinews:articlestart--> and <!--cinews:articleend–>
Subject (Inside of the article tags)
Author (inside of the article tags)
Article Abstract (inside of the article tags)
- Read More Link
- The article's "read more" link will appear within the <!--cinews:readmorestart--> and <!--cinews:readmoreend--> tags
Back Link (navigation on view as webpage)
The back link is only shown when subscribers click to read more and are sent to a webpage with the full article created in our system. It will take them back to the newsletter "view as webpage" screen.
This will appear within the <!--cinews:backstart--> and <!--cinews:backend--> tags. The back link URL will replace the %%backurl%% variable.
Please look at the example below to see how these would fit together:
To display the article's section, subject, author, text, and read more link, insert the following variables into the appropriate sections listed above. If you do not add one or more of these variables, that information simply will be omitted.VariableDescription
%%sectionname%% Displays the name of the section or group where the articles are located %%subject%% Displays the article's subject %%author%% Displays the author of the article %%abstract%% Displays the article text %%articleurl%% Displays the "read more" link that will link to a specified page URL or full version of the article generated by our system %%linkalias%% Adds a link alias to the read more link for each article %%thumbnailurl%% Adds the image URL for each article
Here's an example of a styled article section with a horizontal line at the bottom to separate each article
If you would like to automatically add a Table of Contents, define the Table of Contents section with the following HTML code inside of a table cell:
Variable Description %%toclink%% Link generated inside of the table of contents that will link to each article %%tocname%% Automatically adds each article title inside of the table of contents
Two Column Layout
The newsletter template will generate one or two columns of articles. To make some or all of the articles appear in two columns, please follow these steps:
- Open the Newsletters folder
- Click Newsletter Sections
- Click Add Newsletter Section
- Name the section
- Select 2 columns from the drop down column menu
- Click Save
- Navigate to the Newsletter Articles menu folder
- Create or open an existing Newsletter Article
- For the Section drop down, select the section you just made with two columns
- Now all articles saved with this section will be displayed in two columns instead of one
- Tip: when creating a newsletter with the Newsletter Creator, arrange the articles so that they're in order and grouped by section
Only add html code between the section start and end tags or the article start and end tags. Any code added between the beginning <!--cinews:contentstart--> and <!--cinews:sectionstart--> tags or between the <!--cinews:articleend--> and <!--cinews:contentend--> tags will not be shown in the generated newsletter.
Also, if you insert an image as a divider to be repeated in between articles, this will only work for a one column layout. If the image is the whole width of a one column article, each of the two columns will stretch to be the width of the one column layout. So the two columns will be twice as wide as you want them to be because of the repeated image.
To learn how to Add Newsletter Sections, click the button below.