Add Global Variable with color drop down | Community
Skip to main content
New Participant
December 15, 2021
Solved

Add Global Variable with color drop down

  • December 15, 2021
  • 2 replies
  • 3091 views

Hello I've looked around at a few post and don't see anything that outlines clearly my ask.

 

I'd like to add a hex code color drop down to the global variables tab in the email builder. This would allow user to select their brand color at the global level instead of needing to update it in every module used in the template. 

 

Any tips on the best way to code this into the template?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jo_Pitts1

@jroscoe-3 ,

if you're looking for something that is locked down to brand colours rather than a colour picker, try this solution that I dreamed up a while ago:

https://nation.marketo.com/t5/product-discussions/drop-down-titles-within-email-template-variables/m-p/285100/highlight/true#M166403

 

I've subsequently seen others using the same approach (whether they came up with it independently or from my post I don't know).  It is an approach that is certainly solid.

 

Cheers

Jo

2 replies

Jo_Pitts1
Jo_Pitts1Accepted solution
Community Manager
December 15, 2021

@jroscoe-3 ,

if you're looking for something that is locked down to brand colours rather than a colour picker, try this solution that I dreamed up a while ago:

https://nation.marketo.com/t5/product-discussions/drop-down-titles-within-email-template-variables/m-p/285100/highlight/true#M166403

 

I've subsequently seen others using the same approach (whether they came up with it independently or from my post I don't know).  It is an approach that is certainly solid.

 

Cheers

Jo

Jroscoe-3Author
New Participant
December 16, 2021

Thanks Jo! That was actually a post I looked at and will use it. Had to put this piece with another to figure it out for myself on creating an additional global variable. 

Jo_Pitts1
Community Manager
December 16, 2021

@jroscoe-3 ,

nice work mate.  Good luck with it.

SanfordWhiteman
New Participant
December 15, 2021

How is this different from a mktoColor variable?