Please help with sections!

My client would like multiple sections in which they add multiple articles (example below)

This is how the table of contents should look

WHAT'S INSIDE -- (this would be a hard coded section) - "h2"
- dynamic article title
- dynamic article title
- dynamic article title
THE OTHER STUFF -- (this would be a hard coded section) - "h2"
- dynamic article title
- dynamic article title
- dynamic article title
THIS IS WHAT YOU MISSED -- (this would be a hard coded section) - "h2"
- dynamic article title
- dynamic article title
- dynamic article title

Hope this makes sense and I hope it is doable. Please let me know how or if this can be done ... even if it is by work around. Thank You!

Carissa Carissa, 6 years ago

Unfortunately, that's not possible to do with the <tableofcontents> template tag. You can have one table of contents that has dynamic article titles referring to a repeater section, but not three. To get around it, you'd have to manually create titles that linked to each of the repeater sections.


Carissa
Campaign Monitor
mattnelson, 6 years ago

Is something in the works to make this happen ... seems like all it would take is give tableofcontents another variable (i.e <tableofcontents section="what's inside">) and then the repeater can also reference what toc to tie to (i.e <repeater section="what's inside">)

This would be a HUGE benefit to many of us I am sure.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098