Quote:
|
Originally Posted by carpeperdiem
1. you need to surround a script in a template with {literal} tags
|
Usually this advice would be correct, but in this case, I don't see any curly braces {} in the JS code. The only need for {literal} tags is to keep Smarty from parsing the curly braces.