mailchimp / email-blueprints

Email Blueprints is a collection of HTML email templates that can serve as a solid foundation and starting point for the design of emails

Home Page:http://templates.mailchimp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I replicate and exchange positions between different mc:repeatable blocks?

gustavohban opened this issue · comments

I was looking the templates and found out that in every one which has "repeatable" blocks, each kind of repeatable blocks are isolated.
I mean, which one has his own table as you can see in this example from "2col-1-2-leftsidebar.html"

<td valign="top" width="180" class="leftColumnContent">
<!-- // Begin Module: Top Image with Content \\ -->
    <table border="0" cellpadding="20" cellspacing="0" width="100%">
        <tr mc:repeatable>...
        </tr>
     </table>
 <!-- // End Module: Top Image with Content \\ -->
 </td>
 <td valign="top" width="180" class="rightColumnContent">
  <!-- // Begin Module: Top Image with Content \\ -->
      <table border="0" cellpadding="20" cellspacing="0" width="100%">
           <tr mc:repeatable>...

So I can replicate columns but I can't exchange positions between left and right columns.

Thats is ok but I tried to implement an modular template where I'm able to replicate distincts modules (rows) and exchange their positions as you can see above.

Image of email

Each row (color) is a different module.

When I try to use the Design editor, sending a campaign, I'm able to replicate my modules, edit and change their positions with different kind of modules.

Image of email

But when I go to the Preview and Test function, everything go back to their original position.

Image of Yaktocat

Closing the Preview and Test I get back to the modified look but the email which arrives at my mailbox has the wrong feeling.

I searched for any material about Mailchimp's Design tool limitations but was not able to find anything. So I supposed if I'm able to change positions between distincts modules using Design tool, It should send my campaign with the same look.

So my question is, is this a bug or a limitation? And how would be the best way to achieve this functionality, creating different looks with different modules. Maybe replicating all content and hiding what I dont need?

Thanks in advance.

It could be helpful to someone. The way I founded for surrounding this problem was naming the modules with the same name and use:

mc:repeatable="fixed_module_name" mc:variant="module1"
mc:repeatable="fixed_module_name" mc:variant="module2"
mc:repeatable="fixed_module_name" mc:variant="module3"
...

And now I'm able to create many modules I want.

I had have the same issue and @gustavohban's solution worked for me!
¡Gracias Gustavo!

Just I add that MC will render only one module (the first one in my case) in the templates design view, and when you repeat the block it will show you the "default" module so you will have to select the variant in the dropdown.

Still open and not fixed...