A Newsletter Template will contain the layout and styles for the newsletter. 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 at the top of the template (optional)
Variable Description %%date%% Displays the date entered on the newsletter date field %%volume%% Displays the volume as entered on the newsletter volume field %%pdf%% Inserts an export as PDF link which will create a PDF of the entire newsletter with full articles (pdf link includes the http://)
Displays the table of contents
- Define the article section with the code below
All of the code between the <!--articlestart–> and <!--articleend–> tags will be repeated for every article added to this newsletter
The name of the section for a group of articles will appear within the <!--sectionstart–> and <!--sectionend–> tags
The article's "read more" link will appear within the <!--abstractstart–> and <!--abstractend–> tags
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.
Variable Description %%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 links in your newsletter
Here's an example of a styled article section with a horizontal line at the bottom to separate each article
To learn how to Add Newsletter Sections, click the button below.