Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gustavohban opened this issue Jun 20, 2014 · 3 comments

Comments

@gustavohban
Copy link

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.

@gustavohban
Copy link
Author

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.

@cranca
Copy link

cranca commented May 15, 2015

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.

@antoinehenrich
Copy link

Still open and not fixed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants