How do i integrate a facebook like botton to Version 1.4.9.3?
Please help.
Thanks.
First of all you need to get the code you need from facebook here:
http://developers.facebook.com/docs/ref ... gins/like/
Then you need to decide where on your site you want it eg. footer, header, left column, right column or content.
The code you obtained above can be placed in the relevant .tpl files depending on how you want the "Like" applied!
http://developers.facebook.com/docs/ref ... gins/like/
Then you need to decide where on your site you want it eg. footer, header, left column, right column or content.
The code you obtained above can be placed in the relevant .tpl files depending on how you want the "Like" applied!
I'd like to put it on content or right column below LATEST. Please advise me in which of folders the tpl files are. I'm not a webmaster.
Many thank for your help.
Many thank for your help.
mcamca wrote:First of all you need to get the code you need from facebook here:
http://developers.facebook.com/docs/ref ... gins/like/
Then you need to decide where on your site you want it eg. footer, header, left column, right column or content.
The code you obtained above can be placed in the relevant .tpl files depending on how you want the "Like" applied!
To put under latest in the right column in:
catalog/view/theme/yourtheme/template/module/latest.tpl
Replace:
with:
Rather than adding to content it may be better to add to footer.tpl above last </div> in:
catalog/view/theme/yourtheme/template/common/footer.tpl
put:
or still add to footer.tpl in same position but use code:
This will place it in the bottom right corner of the screen and remain there even when scrolling.
Additional css may be needed to achieve the correct style for the facebook div for all above options!
PS: It is also possible to make the facebook language change if your site uses more than one language!
If you need this just ask!
catalog/view/theme/yourtheme/template/module/latest.tpl
Replace:
Code: Select all
<div class="bottom"> </div>
Code: Select all
<div style="float:left;">YOUR CODE FOR FACEBOOK LIKE GOES HERE</div>
<div class="bottom"> </div>
Rather than adding to content it may be better to add to footer.tpl above last </div> in:
catalog/view/theme/yourtheme/template/common/footer.tpl
put:
Code: Select all
<div style="float:left;">YOUR CODE FOR FACEBOOK LIKE GOES HERE</div>
Code: Select all
<div style="position: fixed; right: 0; bottom: 0;z-index:500">YOUR CODE FOR FACEBOOK LIKE GOES HERE</div>
Additional css may be needed to achieve the correct style for the facebook div for all above options!
PS: It is also possible to make the facebook language change if your site uses more than one language!
If you need this just ask!
Who is online
Users browsing this forum: Bing [Bot] and 36 guests