| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Inserting Javascript into Template (used Literal tag) | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Inserting Javascript into Template (used Literal tag)
Hello
Thanks for your input I placed the script in the home.tpl, between the head tags. and it come back as; Contains a Crazy Egg tracking script? No. The Crazy Egg tracking script is not installed. Any ideas why that does not work? Also, Is home.tpl only for home page or is for all pages?
__________________
Version 4.4.5 |
|||||||
#12
|
|||||||||
|
|||||||||
Re: Inserting Javascript into Template (used Literal tag)
The "skin1/customer/home.tpl" is used for almost all the pages in X-Cart.
As far as I can see from you initial message the script should be placed at the very end of the page, before the closing body tag. The script code should be surounded with the {literal}....{/literal} smarty tags.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#13
|
|||||||
|
|||||||
Re: Inserting Javascript into Template (used Literal tag)
Hello
Thank you. It is now working fine. I didn't realize that i still had to use the literal tags All the best paul
__________________
Version 4.4.5 |
|||||||
#14
|
|||||||
|
|||||||
Re: Inserting Javascript into Template (used Literal tag)
I was pulling my hair out, until I found this thread. Thanks. I got my crazyegg script working too.
__________________
xcart version 4.2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|