installing Lexity.com addon
Hi Guys,
I was having some problems installing the Lexity.com add-on to my site so I thought I'd add this in case anyone else was having problems with it as I couldn't find any help on the forums. It says to add this to just before the </head> tags. I tried adding it to my service_head.tpl file but it didn't work so I just added it directly above the </head> tag in home.tpl. Code:
<!-- Added by Lexity. DO NOT REMOVE/EDIT --> Which I did but the { at the start of the java script seemed to confuse xcart. The way I fixed this was by adding in {literal} before the code and {/literal} after the code so it should look like this. Code:
<!-- Added by Lexity. DO NOT REMOVE/EDIT --> This now works a treat and the software itself is quite nice to use. It isn't anywhere near as good as Google Analytics but it does have a nice user interface and is easy on the eye if you just want a quick overview of who is on your site and and what they are buying. The best thing is its Free which as i'm sure you are aware us Scotsmen like :) http://www.lexity.com |
Re: installing Lexity.com addon
David-Allan,
Thanks for the help! We have updated the instructions on our site, too. The customer/home.tpl file will be in a different directory (than skin1) based on what skin is current active, right? Amit Founder/CEO, Lexity |
Re: installing Lexity.com addon
Quote:
Instead of just surrounding the JS with {literal}{/literal} you can simply replace "{" with {$ldelim} and "}" with {$rdelim}. Then you can still use smarty tags in your script. |
Re: installing Lexity.com addon
Quote:
Thanks totaltec I didn't know about that code. Learn something new every day. |
Re: installing Lexity.com addon
in x-cart 4.6.1 i found if you add the lexity code to service_head.tpl it works when you use the literal tags
|
All times are GMT -8. The time now is 09:37 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.