Referring to Local Variables in Tokens
Hello,
I am trying to reference email module local variables in tokens (Velocity and Rich Text), but it appears my email will not render the results.
For example, I have an email module which can set the color of a hyperlink. The link style typically needs to be set to color: ${footerLinkColor}; so the selected color from the module menu appears. This works when adding the style directly to the email or within a snippet.
However, this method does not work when using a token. In either a velocity script token or a rich text token, I add the following, but the color will not render: <a href="mysite.com" style="color: ${footerLinkColor}">Unsubscribe</a>
Everything else renders and works correctly except for the link color.
Please let me know if there is any thing to do, so this can work. Thank you!