SOLVED

Re: Design Studio Templates: Making an existing editable section NOT editable

Go to solution
Tony_Jackson
Level 1

Design Studio Templates: Making an existing editable section NOT editable

Hi folks,

Relative noob here, creating a custom template based on an existing Marketo template.

I've figured out how to make new modules based on old ones, create editable content not in a template (rudimentary, but it works). What I can't figure out is how to lock an area down so that users can't modify it when creating an email.

The boss wants the header and footer of the email locked down from editing. Is there any documentation that discusses exactly what code must be removed from a section to accomplish this? It is obviously more than just the "mkto*" class, but I'm having difficulty figuring out exactly what else needs to be removed to make it all work properly.

Thanks to any information folks can provide.

1 ACCEPTED SOLUTION

Accepted Solutions
Grégoire_Miche2
Level 10

Re: Design Studio Templates: Making an existing editable section NOT editable

Remove also the mktoName="XXX" attibute in the tags.

if it persists, paste here the code.

-Greg

View solution in original post

5 REPLIES 5
Grégoire_Miche2
Level 10

Re: Design Studio Templates: Making an existing editable section NOT editable

Hi Tony,

this page provides you with the syntax for editables zones in email templates : Email Template Syntax - Marketo Docs - Product Documentation

basically, zones are editable when the html tag has an "mktEditable" or "mktoText" class. Remove that call and you are done.

-Greg

Tony_Jackson
Level 1

Re: Design Studio Templates: Making an existing editable section NOT editable

No "mktEditable" in the code.

Removing mktoText class from the areas I want to lock down, I get the following on saving:

Error: Element With No Name: logo_header

Error: Element With No Name: icoFacebook

Error: Element With No Name: icoTwitter

Error: Element With No Name: icoLinkedin

Error: Element With No Name: icoYoutube

Error: Element With No Name: icoInstagram

Error: Element With No Name: photoBig

Error: Element With No Name: photo1

Error: Element With No Name: photo1a7b1490c-9eef-42a9-8550-ec315b451898

Error: Element With No Name: icoPhone

Error: Element With No Name: icoMail

It's bizarre, because none of those images are found in the areas where I removed the class.

Grégoire_Miche2
Level 10

Re: Design Studio Templates: Making an existing editable section NOT editable

Remove also the mktoName="XXX" attibute in the tags.

if it persists, paste here the code.

-Greg

Tony_Jackson
Level 1

Re: Design Studio Templates: Making an existing editable section NOT editable

That was it!

Thanks so very much! This will make my life so much easier.

David_Sparks
Level 2

Re: Design Studio Templates: Making an existing editable section NOT editable

Gregoire, this may seem like a silly question.

I was wondering if there is a way to do this easier when Publishing an Email to MSI.

For instance, could you create the email and then simply clone or save with the ability to edit being removed.

Obviously, I am looking to publish templates that cannot be edited at all by Sales Reps.

Under Email Settings in the template, does this boxed being unchecked perform that funtion?

Allow CRM user to edit emal

Thanks, David