SOLVED

Module Buttons

Go to solution
Highlighted

Module Buttons

Are they impossible to make dynamic?

It seems weird that I can load a module, make images and text dynamic but all the buttons seem to be impossible to make dynamic.

This seems like a pretty big flaw!!! If I can make all the other elements in a module dynamic, why not the button? Seems kind of critical to me...

Is it the email design/html, a Marketo oversight, or am I just wrong and there is a way to do it (other than dragging in a text module and inserting my own html)?

Thanks for any input.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Module Buttons

You would want to surround the body area of the module with a mktoText <div>:

https://docs.marketo.com/display/DOCS/Email+Template+Syntax

Justin

View solution in original post

7 REPLIES 7
Highlighted
Level 10 - Champion Alumni

Re: Module Buttons

May depend on how you built the module and container.

Highlighted

Re: Module Buttons

I didn't actually build it though. It seems like every template built into Marketo (I've tried several now), and they all seem to be the same where the button cannot be made dynamic. For me anyway, this makes the module approach not very useful.

Highlighted

Re: Module Buttons

Do you mean dynamic content? Or are you just asking if you can customize the color, border, label, etc.?

Buttons can be made dynamic but a lot of the button modules in our starter templates don't do that out-of-the-box. Very simply to change the code structure to support it, if you really would like that functionality.

Justin

Highlighted

Re: Module Buttons

Dynamic content. So if I bring in a module (like two or three column) if I can make the image and text dynamic, it would seem logical that I could make the button dynamic as well but I can't.

What is the simple code change because that is exactly what I want? I would be happy to read and do it myself (teach a man to fish) if you can point me in the right direction. Pretty new to the module functionality.

Thanks!

Highlighted

Re: Module Buttons

You would want to surround the body area of the module with a mktoText <div>:

https://docs.marketo.com/display/DOCS/Email+Template+Syntax

Justin

View solution in original post

Highlighted

Re: Module Buttons

Thanks Justin. I'll give it a try.

Highlighted

Re: Module Buttons

Worked great Justin. This stuff is pretty powerful once you wrap your head around it.