Create reusable email templates, using our simple template language to define editable content sections.
Outputs a single line text field that authors can modify in our custom template content editor. This is ideal for headlines, and links can be used. Text between the tags is used as the default value.
Outputs a multi-line text field that authors can modify in our custom template content editor. Each paragraph is automatically wrapped in a <p> tag, so you'll want to accommodate for that in your CSS.
Add the "editable" attribute to <img> tags to allow content authors to remove or replace images in our custom template content editor (within editable areas only). Options are also added to the editing pane for authors to optionally add URLs and alternate text without having to edit the source code.
Defines a content block that can be repeated an infinite number of times in the template. Must include either a
<img editable> tag. You can have an unlimited number of repeaters in your template, and each repeater can contain any number of editable single line and multi line elements, as well as editable images. These are usually used for lists of articles or features which can repeat an unknown number of times. Keep in mind that you cannot nest repeaters.
You can use the optional layout element described below to specify as many different designs as you like for content items in this repeating block.
You can include multiple layout designs inside a single repeater tag, allowing authors to select a suitable layout when adding content to templates in our custom template content editor. For example, one layout could be for text only, another is text with a left-aligned image, and a third layout might be for an image gallery.
Remember that either every layout in a repeater should have a label, or none should. If you don't use labels, then the 'Add new' button does not have a drop down menu, and simply rotates through the available layouts with each click.
<repeater> <layout label='New Feature'> <h2> <singleline label="Title" repeatertitle='true' >Title of new feature</singleline> </h2> <multiline label="Description" >Description</multiline> </layout> <layout label='Article, tip or resource'> <h2> <singleline label="Title" repeatertitle='true' >Title of Article</singleline> </h2> <multiline label="Description" >Description</multiline> </layout> <layout label='Gallery Highlights'> <img src="gallery.png" width="140" editable label="Image 1"><br /> <img src="gallery.png" width="140" editable label="Image 2"><br /> <img src="gallery.png" width="140" editable label="Image 3"> </layout> </repeater>
Above: The code to include in your HTML templates
Creates an automated list of every single line content item that includes the repeatertitle attribute in your template. You must include a
<repeatertitle> tag inside the table of contents.
Outputs a link to a content item, using the text from each
<singleline> element which included the repeatertitle='true' parameter. Used exclusively within the
Use these snippets in your link and images tags to turn off link tracking for any link in your content, or prevent us from importing a specific image and referencing it on our servers instead of your own.
Turning off image importing –
cm_dontimportimage – For example:
<img src="http://www.myserver.com/filename.jpg" width="400" height="300" alt="alt text here" cm_dontimportimage>
Turning off link tracking –
cm_dontconvertlink – For example:
<a href="http://www.myserver.com" cm_dontconvertlink>this is a link</a>