Email 2.0 module | Community
Skip to main content
December 20, 2016
Question

Email 2.0 module

  • December 20, 2016
  • 1 reply
  • 1886 views

Hello,

I started to work with the 2.0 system, which is very nice I must admit!

but I have an issue with the duplication and the global and local variables.

is there any way to drag a module multiple time, but still keep the variables local to each module?

at the moment, if I do that, when I change one variable it will change on all modules.....

thanks,

Roni

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

1 reply

Level 5
December 20, 2016

Hi Roni,

To make a variable local, or unique inside a module:

All you need to do is go to where your variable is defined in your template (meta tag at the top) and add "mktoModuleScope=true" (case sensitive), before you close your meta tag.

If you write false or leave this out it will be default be a global variable which uses the same value wherever the variable is used.

/Erik

December 20, 2016

Thanks Eric, you are the best

cant understand how I missed it myself, but it works perfectly now!

Level 5
December 20, 2016

I understand!

It is basically only documented in one spot in the product docs and it was not a feature in the first update, so quite easy to miss