Hi all,
We are looking for a way to add script to a block on the frontpage. We would like to add a link/button that triggers a pop-up subscribe page from mailchimp. I tried to add the code to HTML with smarty support, but I do get an error. The script code looks like this:
Any idea how to fix this?
What's the error your getting? The 'id' attribute will probably be removed. I'd suggest since you have '{' and '}' on the same line that you need to utilize {literal} tags to prevent smarty from interpreting what's between the {}'s. I.e.
{literal}
{/literal}
Alternatively you could break up the script into multiple lines.