| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Getting smarty error from tracking code | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have a tracking code that I use on all my web pages and it works fine, yet when I insert it into my home.tpl in the footer it is giving me the error below. I really need this code for tracking as it tracks where my sales come from. Any help is appreciated.
Error: Fatal error: Smarty error: [in customer/home.tpl line 240]: syntax error: unrecognized tag: L10ref=top.document.referrer; (Smarty_Compiler.class.php, line 416) in /home/hiphop/public_html/Smarty-2.6.3/Smarty.class.php on line 1082 Code causing issue: Code:
|
|||||||
#2
|
|||||||
|
|||||||
![]() If you are sticking that in a .tpl file you will have to enclose it in {literal}{/literal} tags. That tells smarty to run it as is without "smartying" it.
![]()
__________________
4.1.9 x-cart 4.4.4 in dev |
|||||||
|
|||
X-Cart forums © 2001-2020
|