Only show ToC if there is more than 1 story?

I can't see a simple way to achieve this, but maybe someone has done it.

In a CM template, is there a way to not show the ToC if there is only 1 story? My client has requested that we don't show a ToC with just one headline in it.


roshodgekiss roshodgekiss, 5 years ago

Hi Ryano, there isn't a way to do this at present, I'm sorry to say. Your best bet is to manually create a table of contents, say, by having a <multiline> which is formatted in a TOC style. You can then add anchor links from within the email editor.

I'm happy to add your vote for this as a sort of conditional content and keep you posted if it's something we do - thanks for the great suggestion!

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

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free