Designing with the table of contents tag
Posted by Mathew Patterson on August 15, 2007 1:54 PM
When you use a repeater element in your templates, you can also make use of our <tableofcontents></tableofcontents> tag to pull out the title of each item in the repeater, and link it to the full item below.
You can wrap the <$repeatertitle$> in a list, or paragraph tags, or whatever works for your needs. We've seen some excellent designs that make use of the table of contents tag, and we wanted to highlight just a few, as some inspiration for next time you are working on a template.
Single column
This is the basic vertical list format, heading the contents column. It helps your readers get a quick overview of the contents, and jump to what they are interested in.
Horizontally styled
If you have a fixed number of articles, a horizontal layout like this can make the design look really well finished and professional.
Integrated into the header
Getting the contents high up in the preview window can grab the readers attention in the brief time available.
Styled list
Visually tying the table of contents into the design of the email as a whole is great for consistency and branding.
Have you done anything interesting with your table of contents? Leave us a comment below.

0 total comments: