HTML Template Errors?

Anonymous
Not applicable

HTML Template Errors?

Im getting this error when I create a template. How do I find the errors? I have an outside designer creating the HTML for us and we are getting really stuck trying to createa  simple template for an email. Thanks

One or more mktEditable sections have errors. Make sure you have at least one and that they all have valid IDs


Tags (1)
7 REPLIES 7
Anonymous
Not applicable

Re: HTML Template Errors?

This error is either because there is no id assigned to the div ex.
. OR two or more of them have the same id. They each have to be named differently.
Anonymous
Not applicable

Re: HTML Template Errors?

Shannan is correct. Post the code here and we can probably help correct.
Anonymous
Not applicable

Re: HTML Template Errors?

My designer figured it out. Thanks everyone. HTML is a nightmare! *mental note to free up lead gen budget for Marketo HTML support 🙂
Anonymous
Not applicable

Re: HTML Template Errors?

Always happy to help 😉
Anonymous
Not applicable

Re: HTML Template Errors?

Hi guys, i've got the same issue - trying to import templates used in "lesser" systems and created by external designers from days long gone, and while I've cleaned a lot of the HTML code up - this error has got me completely stumped!

I can do really basic HTML but the answers you guys have posted have also got me stumped.
I wouldn't even know what line of code to paste here to show someone.

What should I be looking for in the HTML, and what should it look like when it's correct?

Below is a sample HTML of a region I would to be editable;

<tbody>
<tr>
<td style="padding-top: 9px;padding-left: 18px;padding-bottom: 9px;padding-right: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
                        
                            
<table border="0" cellpadding="18" cellspacing="0" class="mcnTextContentContainer" width="100%" style="border: 1px solid #999999;background-color: #EBEBEB;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
<tbody>
<tr>
<td valign="top" class="mcnTextContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #606060;font-family: Helvetica;font-size: 15px;line-height: 150%;text-align: left;">
                                        <strong>Transforming Retail with Machine Data Insights</strong><br></br>

We are co-hosting a webinar to demonstrate how the leading retailers use our software.
And including how we enabled this customer to deliver its most recent online sale with zero outage and revenue of $200,000 per hour.<br></br>

Transform the massive volumes of machine data generated from servers, applications, databases, mobile devices and networks into actionable insights and operational intelligence.<br></br>

Come join us for a webinar on Thursday the 29th of May @ 1pm.
                                    </td>
</tr>
</tbody>



Anonymous
Not applicable

Re: HTML Template Errors?

Hello, After looking at your code here are a few items.
You need to have IDs set for the sections you want editable and you also will need to include the class that allows for editability (class="mktEditable")
Inside each <td> you should insert a div set (example using a portion of your provided code below underlined). Each editable section in your code must have a different ID and also include the editiable class.

<td valign="top" class="mcnTextContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #606060;font-family: Helvetica;font-size: 15px;line-height: 150%;text-align: left;">
<div class="mktEditable" id="mainContent">
                                        <strong>Transforming Retail with Machine Data Insights</strong><br></br>

We are co-hosting a webinar to demonstrate how the leading retailers use our software.
And including how we enabled this customer to deliver its most recent online sale with zero outage and revenue of $200,000 per hour.<br></br>

Transform the massive volumes of machine data generated from servers, applications, databases, mobile devices and networks into actionable insights and operational intelligence.<br></br>

Come join us for a webinar on Thursday the 29th of May @ 1pm.

</div>
                                    </td>
Anonymous
Not applicable

Re: HTML Template Errors?

You also have a lot of extraneous Microsoft Word-generated code that you'll need to clean up as well.