wilhelmsendk Posted November 25, 2010 Share Posted November 25, 2010 Hello all. I need to insert the following code before the <body> tag on the frontpage, but in index.tpl i cant find any usefull place to put it. the code is: [removed](function(q){[removed](unescape("[removed][removed]"));})({protocol:((document.location.protocol=="https:")?"https:":"http:"), widget:'pHb6pXZmpga1dXB5chYLEg56dXVweV9jdXN0b21lchiZjCMM'});[removed] there do i but this javascript in my presta install. I tryed the header.tpl but i get a blank page if i insert it here. The script is from zuppy.com Any idea ? please helpchristian Link to comment Share on other sites More sharing options...
razaro Posted November 25, 2010 Share Posted November 25, 2010 You need to edit header.tpl but javascript code that needs to be between {literal} ... {/literal} tags, like this : <script type='text/javascript'> {literal} /* and here goes your function code */ {/literal} </script> 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