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.

thanks

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: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

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