Re: Email 2.0 module

Anonymous
Not applicable

Email 2.0 module

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

3 REPLIES 3
Erik_Heldebro2
Level 8

Re: Email 2.0 module

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

Anonymous
Not applicable

Re: Email 2.0 module

Thanks Eric, you are the best

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

Erik_Heldebro2
Level 8

Re: Email 2.0 module

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