Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

installing Lexity.com addon

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 06-08-2012, 01:26 AM
  David-Allan's Avatar 
David-Allan David-Allan is offline
 

eXpert
  
Join Date: Oct 2011
Location: Scotland, UK
Posts: 313
 

Default 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 --> (Lexity.com supply code to go here) <!-- End of addition 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 --> {literal} (Lexity.com supply code to go here) {/literal} <!-- End of addition 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
__________________
Live Version : 4.5.2
Licensed Products:
X-Cart Gold
Ability Theme
CDSEO
xCMS
Abandoned Cart
Food Packaging Scotland
Reply With Quote

The following user thanks David-Allan for this useful post:
lexity (06-09-2012)
  #2  
Old 06-10-2012, 08:10 AM
 
lexity lexity is offline
 

Newbie
  
Join Date: Jun 2012
Posts: 2
 

Default 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
__________________
Developers of Lexity Live
Reply With Quote
  #3  
Old 06-11-2012, 08:13 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: installing Lexity.com addon

Quote:
Originally Posted by lexity
The customer/home.tpl file will be in a different directory (than skin1) based on what skin is current active, right?
Yes it will. You can access the current skin directory by using {$AltSkinDir}.

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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #4  
Old 06-12-2012, 02:13 AM
  David-Allan's Avatar 
David-Allan David-Allan is offline
 

eXpert
  
Join Date: Oct 2011
Location: Scotland, UK
Posts: 313
 

Default Re: installing Lexity.com addon

Quote:
Originally Posted by totaltec
Yes it will. You can access the current skin directory by using {$AltSkinDir}.

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.

Thanks totaltec I didn't know about that code. Learn something new every day.
__________________
Live Version : 4.5.2
Licensed Products:
X-Cart Gold
Ability Theme
CDSEO
xCMS
Abandoned Cart
Food Packaging Scotland
Reply With Quote
  #5  
Old 01-23-2014, 09:33 PM
 
artist122 artist122 is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 43
 

Default 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
__________________
Anthony
www.ambfurniture.com

X-cart Version 4.6.1 Newly updated
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:21 PM.

   

 
X-Cart forums © 2001-2020