Table with title /description/image inside <repeater> tag?

I've tried everything I can think of to get this to work but it doesn't! Is it possible? Am I missing something obvious? Any suggestions would be great. Thanks.

RKL, 7 years ago

Found my solution here: http://help.campaignmonitor.com/topic.aspx?t=136

As an example, this WILL NOT work:

<repeater>
   <tr>
      <td><$title link='true' default='Enter your title'$></td>
   </tr>
   <tr>
      <td><$description default='<p>Enter your description</p>'$></td>
   </tr>
</repeater>

This however, WILL work (notice how we just wrap the table rows in its own table):

<repeater>
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
         <td><$title link='true' default='Enter your title'$></td>
      </tr>
      <tr>
         <td><$description default='<p>Enter your description</p>'$></td>
      </tr>
   </table>
</repeater>

That's it!


Thanks for this.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098