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, 7 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, 7 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.

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