Facebook Like Button installation instructions

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!