Data tables in templates?


We are interested in turning our HTML emails over to the client for editing by converting them into templates in CM.

However, our HTML's rely heavily on tabular data tables. Here is an example:

Our clients would need to be able to edit cells, delete and add rows, and merge cells

Is this kind of table editing possible within the CM template system?

roshodgekiss roshodgekiss, 5 years ago

Hey there bopjo1, thank you so much for writing in. It's absolutely possible to create a layout like this by using tables like the following:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <td bgcolor="#FFCC00">Heading 1</td>
    <td bgcolor="#FFCC00">Heading 2</td>
    <td bgcolor="#FFCC00">Heading 3</td>
<layout label="White row">
    <td><multiline label="Heading 1 text">Text here</multiline></td>
    <td><multiline label="Heading 2 text">Text here</multiline></td>
    <td><multiline label="Heading 3 text">Text here</multiline></td>
<layout label="Grey row">
    <td bgcolor="#CCCCCC"><multiline label="Heading 1 text">Text here</multiline></td>
    <td bgcolor="#CCCCCC"><multiline label="Heading 2 text">Text here</multiline></td>
    <td bgcolor="#CCCCCC"><multiline label="Heading 3 text">Text here</multiline></td>
<layout label="Full span row">
    <td colspan="3" bgcolor="#FFFFFF"><multiline label="Full row text">Text here</multiline></td>

To find out more about our template language, by all means check out our docs on 'Making content editable'. Thanks, bopjo1! Let us know if you have any questions about this.

Get in touch with us on Twitter:
We're also on Facebook:

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free