manciuria Posted June 17, 2010 Share Posted June 17, 2010 Hi,I've an error when I try to include this code on a .tpl file. var shared_object = SHARETHIS.addEntry({ title: document.title, url: document.location.href }); I've got the feeling that is the smarty template system that interpret the {} , any idea on how to fix it?Thanks! Link to comment Share on other sites More sharing options...
bartman Posted June 17, 2010 Share Posted June 17, 2010 wrap the code as follows {literal} var shared_object = SHARETHIS.addEntry({ title: document.title, url: document.location.href }); {/literal} info can be found hereregardschris 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now