Facebook Like Button installation instructions

Thank you for downloading our magento extension. Please follow these instructions to proceed with the installation of your theme:

Turn store compilation off:

Navigate to Admin -> Tools -> Compilation and deactivate compilation mode for your store.

Copy all files into your magento directory:

Simply copy all files from "extension source x.x.x" directory into your magento store directory.

Turn your magento cache off:

Navigate to Admin -> System -> Manage Cache and deactivate cache for your store. You can enable it after extension installation will be finished.

Refresh your admin user access rights:

Simply logout from your store admin and then login back.

Next steps
  1. Navigate to System > Configuration > Templates-Master > FaceBook Like Button and enable extension for any store you need.
  2. Configure FaceBook Like Button module according to your needs.
  3. Set Up New Facebook Application at http://www.facebook.com/developers/createapp.php
  4. If you are planning on using XFBML buttons, you will need to edit some template files Change the opening html tag to read:
    <html xmlns:og="http://ogp.me/ns#"
    
    at next template files
    • app/design/frontend/[package]/[theme]/template/page/1column.phtml
    • app/design/frontend/[package]/[theme]/template/page/2columns-left.phtml
    • app/design/frontend/[package]/[theme]/template/page/2columns-right.phtml
    • app/design/frontend/[package]/[theme]/template/page/3columns.phtml
  5. Code listed bellow should should be added to view.phtml file in order to display Facebook like button. For exampe app/design/frontend/[package]/[theme]/template/catalog/product/view.phtml.
    <?php echo $this->getLayout()->createBlock('core/template')->setTemplate('facebooklb/like.phtml')->toHtml(); ?> 
    
  6. Code listed bellow should should be added to list.phtml file in order to display social buttons. For example app/design/frontend/[package]/[theme]/template/catalog/product/list.phtml.
    <?php echo Mage::helper('facebooklb')->getCategoryLikeButton($_product) ?>
    
  7. That's all. Navigate to your products page and check how your store looks.
That's all. Navigate to your store and check how your store looks.

If you have any problems with extension installation please contact us at templates-master.com/helpdesk and we will help you with extension installation

Common questions and ideas

Come up with new ideas!

Questions:

Posted by Feggel, Wednesday, August 23, 2017 on page Facebook Like Button installation instructions
  • 0
    vote
    A: You can change locale used by Facebook at extension configuration. Please check http://docs.swissuplabs.com/m1/extensions/facebooklikebutton/configuration/
    Posted by Peter D. on Wednesday, August 23, 2017
Posted by priya mishra, Friday, October 30, 2015 on page Facebook Like Button installation instructions
  • 0
    vote
    A: Do you want to add like button to entire category or just products listed on that category?
    Posted by Peter D. on Friday, October 30, 2015

Ask Your Question

* Required Fields

Back to top