View Single Post
  #2  
Old 02-04-2012, 02:06 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

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

Default Re: Facebook like button on home page

Waleed, I would not add JS to home.php. What you need to do is add the JS in customer/service_head.tpl or whtever template controls the <head> content of your version. You can find out what templates are called by using webmaster mode.

Then you would add the facebook button itself in another tpl, depending on where you want it to display. On current versions, I would suggest customer/left_bar.tpl or customer/head.tpl. I don't have quick access to your version at the moment. But it can be determined fairly quick in webmaster mode.
__________________
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