Can you create Custom Modules?

Scott_Macaluso
Level 1

Can you create Custom Modules?

Hey all, we've been reading and trying to figure out how to make modules.

For instance, a sidebar for an email template.

We have some devs over here that are very comfy with HTML & CSS, but not comfy enough with Marketo.

I'm pretty HTML & CSS savvy myself, so don't be afraid of replying with nitty-gritty if it explains how to do this.

We think that modules are defined by classes, id's and mktoname, so we can copy that line of code, change those variables and see another thing pop up in the "CONTENT" section, but no matter what we do, we can't get it to show up in the "MODULES" tab.

Any ideas what we're doing wrong?

Thanks so much, really,

-Scott

4 REPLIES 4
Gerard_Donnell4
Level 10

Re: Can you create Custom Modules?

Have you got all your module sections wrapped in a master container?

  <!-- Module Container Table -->

  <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">

       <tr>

            <td class="mktoContainer" id="mkto-container">

******All your module sections should go in here******

            </td>

       </tr>

  </table>

  <!--End of Module Container -->

Gerard_Donnell4
Level 10

Re: Can you create Custom Modules?

Jenna Molby​ made a fantastic blog post about creating Email 2.0 templates that should help your whole team as a reference.

http://jennamolby.com/how-to-create-marketo-2-0-email-templates/

Jo_Pitts1
Level 10 - Community Advisor

Re: Can you create Custom Modules?

This article was awesome.  I would absolutely recommend it to anyone thinking about tweaking templates in general, and creating modules particularly.

Even for someone with marginal HTML skills, asides from the HTML editor validation stuff being quite broken in Marketo, It was a piece of cake to add two new modules.

l6svGEh.png

Grégoire_Miche2
Level 10

Re: Can you create Custom Modules?

Hi Scott,

1/ read the doc (Email Template Syntax - Marketo Docs - Product Docs ) carefully. It explains how modules need to be included in containers. Modules and containers classes can only be added to some specific HTML tags.

2/ Use some of Marketo built-in starter templates to see how they are developped.

-Greg