"No repeater with tocitem"

I'm having a problem uploading a template which has a table of contents formatted as below:

<ul>
     <tableofcontents>
        <repeatertitle/>
     </tableofcontents>
</ul>

I am using all the current, updated tags yet am still getting an 'No repeater with tocitem' error message relating to this and it won't allow me to upload.

Any thoughts?

davidaf davidaf, 5 years ago

Hi,

You need to be sure that you have a repeater in there with a singleline tag with repeatertitle='true' so that there's something that can actually populate the ToC:

<singleline label="Title" repeatertitle='true' >Title</singleline>

See http://www.campaignmonitor.com/create/editable-content/#repeater

I hope that helps!


The Campaign Monitor Blog – HTML email smarts to go with your good looks
shakingpaper, 5 years ago

Ahhh of course - makes sense, now.

Thanks!

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