I want to be able to have sections of each newsletter that the user can add as many new ones as they wish (repeater tag) and within each of those sections, the user can add as many articles as they wish (repeater tag). I am unfortunately getting the error message about "Nested repeater tags". Is there anyway to do this? I have the following, but its not working....
<repeater> <h2 class="section-title"><$title link='true' default='Section Title'$> <table width="570" border="0" cellspacing="20" cellpadding="0"> <tr> <td width="570" align="left" valign="top" class="section-articles"> <repeater> <h2 class="article-title"> <$title link='true' default='Article Title'$> </h2> <img src="<$imagesrc link='true'$>" width="300" alt="Main Content Inline " align="left" hspace="10"> <$description default='<p>Enter your Description</p>'$> </repeater> </td> </tr> </table> </repeater>
I'm afraid that the system doesn't support nested repeaters at this time. I can add that as a feature request for future development, but it means at this time that you won't be able to do specifically what you've outlined in your code, sorry.
Nested repeaters are a real necessity to make decent templates. Can this be added soon? Otherwise Campaignmonitor templates won't be of much use.
I'm already needing it for two of my clients.
Jawel - nested repeaters... or more controllable repeaters have been being requested for several years, there are several posts within the forums. I wouldn't CM to implement your request anytime soon, if you're relying on it for your clients.