SlideShare a Scribd company logo
1 of 8
Download to read offline
Facebook Like Button V1.5.0
Notice: This product is not endorsed by Facebook. Retail Evolved is not affiliated with Facebook.


                                                                                     Updated: July 25, 2010
What is Facebook Like Button?
Facebook recently announced a Like button that allows you to be more connected to your customer’s and their
Facebook friends. This button can be used on any page and provides an easy way for Facebook users to post pages
to their profiles that they like.

This extension adds a Like button to the top of all Magento product, category, and CMS pages. It automatically
configures the page to use the main product / category image and product / category name to enable quality
shared content.

Features
    Add Like buttons (iFrame type) to your entire catalog and CMS pages in 5 minutes – allow your customers
     to recommend your products, categories, and pages to all of their Facebook friends
    Like buttons can be placed on your product grid / list
    Supports ‘ref’ parameter
    Open Graph compatible – send messages to fans for every product that gets “liked” on your site
    Customize the placement of the Like button
    Configure all aspects of the Like button from one place in Magento admin
    Supports both iFrame and XFBML buttons
    Automatically provides a quality title and image for your shared content
    Quick and easy install - just upload and refresh your cache
    Works with Magento versions 1.2.x, 1.3.x, ,1.4.x and EE
    30 day money back guarantee
    30 days of free support

Installation
   1. Backup your Magento directory
   2. Unzip the downloaded file
   3. Using an FTP client, upload the “app” directory into your Magento directory
   4. If you are using a package or theme other than the default package and theme, copy everything in
      app/design/frontend/default/default/ to app/design/frontend/[package]/[theme]/
   5. If you are planning on using XFBML buttons, you will need to edit some template files to support Internet
      Explorer
           a. In the following files, change the opening html tag to read: <html
              xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>"
              xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraph.org/schema/"
              lang="<?php echo $this->getLang() ?>">
                  1) app/design/frontend/[package]/[theme]/template/page/1column.phtml
                  2) app/design/frontend/[package]/[theme]/template/page/2columns-left.phtml
                  3) app/design/frontend/[package]/[theme]/template/page/2columns-right.phtml
                  4) app/design/frontend/[package]/[theme]/template/page/3columns.phtml
   6. Refresh your cache
           a. Log in to your Magento admin area
           b. Go to System->Cache Management
           c. Select “Refresh” from the “All Cache” drop down
           d. Click “Save cache settings”


                                                                                                        Page 2 of 8
7. After refreshing, you may need to log out and log back in to the admin area to gain access to the
       configuration options for Facebook Like Button

Upgrading
Follow installation instructions and respond “Yes” to any prompts to overwrite files. As always, back up your
website files before installing / upgrading. Don’t forget to refresh your cache after upgrading!

Upgrade Note: If upgrading from a version prior to 1.3.3, you will be adding the Open Graph functionality.
By default, it is turned off to avoid confusion. Turning it on may appear to delete all of your “likes”, but they
will be restored properly as soon as somebody “likes” the page again. This is an issue with Facebook’s API
and will hopefully be corrected by them soon.

Configuring Facebook Like Button
Attention! If you are using one of the many Magento extensions that utilize Facebook Connect or have
added in Facebook Connect functionality on your own, you MUST read “Facebook Connect Compatibility”
for additional instructions.

Like buttons can be easily configured from your Magento Admin site. To access settings, go to System-
>Configuration->Facebook Like Button.

Hide Default Product Button?: Set to “Yes” to hide the default product button if you are going to customize button
placement on product pages.

Hide Default Category Button?: Set to “Yes” to hide the default category button if you are going to customize button
placement on category pages.

Enable Open Graph Protocol?: It is recommended that this be set to “Yes”. Enabling open graph requires a valid App
ID. See “Enabling XFBML Buttons or Open Graph”. When this is set to “Yes”, a fan page will be created for every
product on your site that gets “liked”. From there, you can manage your pages and publish messages to your fans.
Note: If you have accumulated “likes” while this was not enabled, they may appear to be erased after
enabling. They will reappear after your customers “like” your pages again. This is a Facebook API quirk
that they will hopefully correct soon 

Site Name: When provided, the note posted to the customer’s feed on Facebook will include the Site Name (i.e. “Joe
Schmo likes Cool Widget on Amazing Store.”). If left blank, the Site Name will not be included (i.e. “Joe Schmo likes
Cool Widget.”). Note that if your customer leaves a comment when they “like” your product that the base URL of
your store will be displayed instead of the Site Name. This is Facebook’s design choice.

Use Rewrites if Available?: Set to Yes to use the product rewrite created by Magento if it is available. Only set to No if
you were using a version of this extension prior to 1.3.2 and are worried about losing a record pages your
customers liked.

Button Type: We recommend using XFBML for a better experience for you and your customers. Refer to the section
of this document titled “iFrame vs. XFBML Button Types” for more information.

App ID: This is required if you are using the XFBML button type or want to use the Open Graph protocol to manage
pages and publish messages to your fans.




                                                                                                              Page 3 of 8
Layout Style: “standard” displays more text next to the button. “button_count” simply displays the number of
people that have liked the page. This can be configured separately for the product view, category view, CMS pages,
product grid view, and product list view.

Show Faces: Set to “Yes” to show faces of customer’s friends who liked the product. This can be configured
separately for the product view, category view, CMS pages, product grid view, and product list view.

Width: The width of the Like button container. This can be configured separately for the product view, category
view, CMS pages, product grid view, and product list view. Note: For XFBML buttons, setting this below 220 will
have no effect – the displayed XFBML button cannot be thinner than 220 pixels.

Height: The height of the Like button container. This can be configured separately for the product view, category
view, CMS pages, product grid view, and product list view.

Ref: The ‘ref’ parameter is optional and is used to help with A/B testing (determining where the best place is for
your Like button). It also causes Facebook to provide more details in the shared URL when somebody follows a
shared link. This can be configured separately for the product view, category view, CMS pages, product grid view,
and product list view. See the “Facebook Like ‘ref’ Parameter” section for details.

Verb to display: Self-explanatory – button either says “Like” or “Recommend”

Font: The font to display.

Color Scheme: Dark or light, your choice.

Use Categories in URLs?: Setting this to “Yes” will include the category in product URLs that get shared. You should
only enable this if you have customized your site to use URLs that include categories as your canonical URLs.
Otherwise, you run the risk of duplicate shares as search results do not include the category in the product URLs by
default.

Open Graph Protocol
Enabling the Open Graph Protocol means that you can send messages to fans of your products via Facebook pages.
To make this work, you must have set up a valid App ID (see “Enabling XFBML Buttons or Open Graph”) and
configured it in the Magento admin.

To access the product’s Facebook page, an administrator of the Facebook application must click the Like button on
the product’s page on your website. The Facebook user that initially created the application is automatically added
as an administrator. You can add more administrators from the “Widgets” tab of your Facebook application
settings.

After an administrator has “liked” the product page, you should see an “Admin Page” link next to the like button on
the product page. Clicking this will take you to the Facebook page where you can broadcast messages and manage
fans.

Note: Currently, Facebook does not provide one place where you can broadcast messages to anybody who
has liked any product on your site. It can currently only be done at the product / page level.

iFrame vs. XFBML Button Types
There are two types of Facebook Like buttons: iFrame and XFBML. The iFrame buttons are the quickest and easiest
to get up and running. However, they lack two features which may be necessary for you:
                                                                                                         Page 4 of 8
1. Commenting is only enabled on iFrame buttons with a width of at least 450 pixels
   2. XFBML buttons allow you to subscribe to JavaScript events when a user clicks on the Like Button: This is
      done by subscribing to the ‘edge.create’ event through ‘FB.event.subscribe’ (see
      http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe for details)

Enabling XFBML Buttons or Open Graph
To enable XFBML buttons, you will need to set up and configure a Facebook application. This is easier than it
sounds:

   1. If you haven’t already done so, create a Facebook account
   2. Go to http://www.facebook.com/developers
   3. Click Set Up New Application
   4. Enter an Application Name and Agree to the terms
   5. Click on the Connect tab on the left
   6. Enter your domain name with a trailing slash in Connect URL (i.e. “http://retailevolved.com/”) – Note:
      This must be an exact match of your base url, including a “www” if applicable
   7. Save your changes
   8. In the Facebook Like Button configuration in your Magento admin, enter the Application ID in the App ID
      field

Lastly, you will need to edit some template files in Magento to support Internet Explorer:

In the following files, change the opening html tag to read: <html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="<?php echo $this->getLang() ?>" xmlns:fb="http://www.facebook.com/2008/fbml"
xmlns:og="http://opengraph.org/schema/" lang="<?php echo $this->getLang() ?>">

   1.   app/design/frontend/[package]/[theme]/template/page/1column.phtml
   2.   app/design/frontend/[package]/[theme]/template/page/2columns-left.phtml
   3.   app/design/frontend/[package]/[theme]/template/page/2columns-right.phtml
   4.   app/design/frontend/[package]/[theme]/template/page/3columns.phtml

Like Button ‘ref’ Parameter
The ‘ref’ parameter is used to help with A/B testing (determining where the best place is for your Like button). It
also causes Facebook to add some parameters to the URL when it is followed from a shared link.

From Facebook’s documentation (http://developers.facebook.com/docs/reference/plugins/like):

“The ref attribute causes two parameters to be added to the URL when a user clicks a link from a stream story
about a Like action:

   1. fb_ref – the ref parameter
   2. fb_source – the stream type (‘home’, ‘profile’, ‘search’, ‘other’) in which the click occurred and the story type
      (‘oneline’ or ‘multiline’), concatenated with an underscore.”

At this time, the extension will not handle these parameters in any special way. We encourage you to use Google
Analytics to take full advantage of this feature.

Customize Button Placement – Product Page
If you don’t like where the button is placed by default on your product page, you can easily change its placement:
                                                                                                           Page 5 of 8
1. Set System->Configuration->Facebook Like Button->Hide Default Product Button? to “Yes”
    2. Next, in app/design/frontend/[package]/[theme]/template/catalog/product/view.phtml add this snippet
       wherever you would like the button to appear:
           a. <?php echo $this->getChildHtml('info.likebutton') ?>

Customize Button Placement – Category Page
If you don’t like where the button is placed by default on your category page, you can easily change its placement:

    1. Set System->Configuration->Facebook Like Button->Hide Default Category Button? to “Yes”
    2. In app/design/frontend/[package]/[theme]/template/catalog/category/view.phtml add this snippet
       wherever you would like the button to appear:
           a. <?php echo Mage::helper('evlike')->getLikeHtml($this, $_category, true) ?>

The code snippet should generally be added in three places, once for each category display mode: “Products only”,
“Static block only”, and “Static block and products”.

Customize Button Placement – CMS Page
If you don’t like where the button is placed by default on your CMS page, you can easily change its placement:

    1. Set System->Configuration->Facebook Like Button->Hide Default CMS Button? to “Yes”
    2. In the content of your CMS page, add this snippet wherever you would like the button to appear:
           a. {{block type= "evlike/cms_like" template= "evlike/likebutton.phtml" name= "cms.likebutton"}}

Adding Like Button to Product Grid / List
New in version 1.3 is the ability to add a Like button to your product grid / list:

    1. In app/design/frontend/[package]/[theme]/template/catalog/product/list.phtml add the following code
       snippet where you would like the button to appear:

        <?php echo Mage::helper('evlike')->getLikeHtml($this, $_product) ?>

You will need to add this snippet in two places – once for grid mode and once for list mode. Note that the snippet
needs to be inside of the foreach loop that begins with <?php foreach ($_productCollection as $_product) ?>.

Facebook Connect Compatibility
If you intend to use XFBML Like buttons and if you are using an extension or have added a customization that adds
the following line to your page source, you MUST follow the instructions in this section:

<script src=”http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US”
type=”text/javascript”></script>

Note that the “en_US” will be your locale. This include is incompatible with XFBML buttons. Here is what
Facebook’s developer wiki has to say:

“Important: You need to reference the FeatureLoader script only once on a page. If you already have a Facebook
Connect social widget on this page, you don’t need to reference the FeatureLoader script again.”

To get around this, you will need to conditionally include the FeatureLoader script on pages that do not have a Like
button on them. We have found that the simplest way to accomplish this is by using the following code in the
template file that includes the FeatureLoader script:
                                                                                                         Page 6 of 8
<?php if(!Mage::registry('product') && !$this->getLayout()->getBlock('likebutton') && !$this->getLayout()-
>getBlock('defaultcat.likebutton') && !$this->getLayout()->getBlock('cat.likebutton') && !$this->getLayout()-
>getBlock('defaultcms.likebutton') && !$this->getLayout()->getBlock('cms.likebutton')): ?>

<!-- code to include FeatureLoader script -->

<?php endif; ?>

The file you will edit will be different depending on your extension or customization. If you are having troubles
with this, please contact support@retailevolved.com and we will do our best to assist you.

Un-installation
   1. Remove the following from your Magento directory:
          a. app/code/local/Evolved/Like
          b. app/etc/Evolved_Like.xml
          c. app/design/frontend/[package]/[theme]/layout/evlike.xml
          d. app/design/frontend/[package]/[theme]/template/evlike
   2. Refresh your cache
          a. Log in to your Magento admin area
          b. Go to System->Cache Management
          c. Select “Refresh” from the “All Cache” drop down
          d. Click “Save cache settings”

Change Log
Version 1.1

    Added support for Site Name (og:site_name meta tag)
    Fixed bug that cut off titles of products with quotation marks (“) in names or descriptions

Version 1.2

    Added automatic selection of locale when using XFBML
    Updated documentation with “Facebook Connect Compatibility” section

Version 1.3

    Added support for adding the Like button to product grid / list
    When sharing with comments (XFBML), the short description will be used in the user’s post – if it is not
     available, description will b
    e used
    Fixed bug that would post site information to Facebook instead of product information if the product’s
     description was empty
    Changed method of generating the product URL to be shared – in certain instances, it would use the wrong
     URL (based on Virtual Host configuration on your web server)
    Fixed bug that would cause an empty SID to be appended to the generated URL in rare instances

Version 1.3.1

    Uses canonical URLs so that product URLs will be consistent regardless of the setting you have specified for
     “Use categories path for product URLs”
                                                                                                      Page 7 of 8
Version 1.3.2

    Added support for any combination of “Use Web Server Rewrites” and “Add Store Code to Urls” settings –
     previously, these were ignored, resulting in potentially inaccurate product URLs (depending on your
     configuration)
    Added support for product URL rewrites – if one exists, it is used instead of the product’s URL key
    Fixed bug that would prevent the site name from being displayed in Facebook if the like button was using
     the “button_count” style and was in a grid view
    Fixed bug that was preventing XFBML buttons from working for Australian domains

Version 1.3.3

    Added Open Graph support – send messages to fans of your products via Facebook pages

Version 1.4.0

    Added support for putting the Like button on a category page – in other words, your customers can now
     “like” your category pages, not just your products
    Added support for including the category in the shared product URL
    Made it easier to customize button placement (turn on / off default buttons in admin)

Version 1.5.0

    Added support for putting the Like button on CMS pages
    Added locale support to iFrame button type
    Added support for “ref” tag, a new Facebook feature that helps a/b test button positioning and provides
     information about where a link was followed from on Facebook (i.e. profile_oneline indicates that a one-
     line comment from a user’s Profile page was clicked)




                                                                                                     Page 8 of 8

More Related Content

What's hot

Intro wordpress (1) copy with dipesh sharma
Intro wordpress (1)   copy with dipesh sharmaIntro wordpress (1)   copy with dipesh sharma
Intro wordpress (1) copy with dipesh sharmadegana2009
 
Shop application
Shop applicationShop application
Shop applicationheadsocial
 
Setting up & Tracking AMP Pages in Google Analytics
Setting up & Tracking AMP Pages in Google AnalyticsSetting up & Tracking AMP Pages in Google Analytics
Setting up & Tracking AMP Pages in Google AnalyticsVivek Patel
 
How to Install Magento Extensions - Tutorial
How to Install Magento Extensions - TutorialHow to Install Magento Extensions - Tutorial
How to Install Magento Extensions - TutorialM-Connect Media
 
Joomla Quick Start 1
Joomla  Quick  Start 1Joomla  Quick  Start 1
Joomla Quick Start 1guest38bfe1
 
Facebook complete guide to power editor
Facebook complete guide to power editor Facebook complete guide to power editor
Facebook complete guide to power editor Rania Alahmad
 
Instagram Extension for Magento
Instagram Extension for MagentoInstagram Extension for Magento
Instagram Extension for MagentoMeetanshi
 
Top 8 hidden handy features of word press
Top 8 hidden handy features of word pressTop 8 hidden handy features of word press
Top 8 hidden handy features of word pressJohn057
 
MageMob Cart Android & iOS Application
MageMob Cart Android & iOS ApplicationMageMob Cart Android & iOS Application
MageMob Cart Android & iOS ApplicationAppJetty
 
The MSLGROUP guide to facebook updates
The MSLGROUP guide to facebook updatesThe MSLGROUP guide to facebook updates
The MSLGROUP guide to facebook updatesMSLGROUPAsia
 
Force com getting_started_trial
Force com getting_started_trialForce com getting_started_trial
Force com getting_started_trialronmechling
 
Joomla Migration Checklist - US Joomla Force
Joomla Migration Checklist - US Joomla ForceJoomla Migration Checklist - US Joomla Force
Joomla Migration Checklist - US Joomla ForceUS Joomla Force
 
5 ways to optimize your facebook page
5 ways to optimize your facebook page5 ways to optimize your facebook page
5 ways to optimize your facebook pagePrachi Karan
 
PrestaShop 1.7 is stable now- Things you need to know before upgrading
PrestaShop 1.7 is stable now- Things you need to know before upgradingPrestaShop 1.7 is stable now- Things you need to know before upgrading
PrestaShop 1.7 is stable now- Things you need to know before upgradingKnowband Store
 

What's hot (20)

Intro wordpress (1) copy with dipesh sharma
Intro wordpress (1)   copy with dipesh sharmaIntro wordpress (1)   copy with dipesh sharma
Intro wordpress (1) copy with dipesh sharma
 
Shop application
Shop applicationShop application
Shop application
 
Setting up & Tracking AMP Pages in Google Analytics
Setting up & Tracking AMP Pages in Google AnalyticsSetting up & Tracking AMP Pages in Google Analytics
Setting up & Tracking AMP Pages in Google Analytics
 
Joomla gwt manual
Joomla gwt manualJoomla gwt manual
Joomla gwt manual
 
How to Install Magento Extensions - Tutorial
How to Install Magento Extensions - TutorialHow to Install Magento Extensions - Tutorial
How to Install Magento Extensions - Tutorial
 
Joomla Quick Start 1
Joomla  Quick  Start 1Joomla  Quick  Start 1
Joomla Quick Start 1
 
Facebook complete guide to power editor
Facebook complete guide to power editor Facebook complete guide to power editor
Facebook complete guide to power editor
 
Instagram Extension for Magento
Instagram Extension for MagentoInstagram Extension for Magento
Instagram Extension for Magento
 
Top 8 hidden handy features of word press
Top 8 hidden handy features of word pressTop 8 hidden handy features of word press
Top 8 hidden handy features of word press
 
Instruction manual im
Instruction manual imInstruction manual im
Instruction manual im
 
MageMob Cart Android & iOS Application
MageMob Cart Android & iOS ApplicationMageMob Cart Android & iOS Application
MageMob Cart Android & iOS Application
 
Prestashop Theme Maker
Prestashop Theme MakerPrestashop Theme Maker
Prestashop Theme Maker
 
The MSLGROUP guide to facebook updates
The MSLGROUP guide to facebook updatesThe MSLGROUP guide to facebook updates
The MSLGROUP guide to facebook updates
 
Force com getting_started_trial
Force com getting_started_trialForce com getting_started_trial
Force com getting_started_trial
 
Magento Facebook Deal Extension
Magento Facebook Deal ExtensionMagento Facebook Deal Extension
Magento Facebook Deal Extension
 
Joomla Migration Checklist - US Joomla Force
Joomla Migration Checklist - US Joomla ForceJoomla Migration Checklist - US Joomla Force
Joomla Migration Checklist - US Joomla Force
 
5 ways to optimize your facebook page
5 ways to optimize your facebook page5 ways to optimize your facebook page
5 ways to optimize your facebook page
 
PrestaShop 1.7 is stable now- Things you need to know before upgrading
PrestaShop 1.7 is stable now- Things you need to know before upgradingPrestaShop 1.7 is stable now- Things you need to know before upgrading
PrestaShop 1.7 is stable now- Things you need to know before upgrading
 
You tube
You tubeYou tube
You tube
 
Topic Two: Adding Content
Topic Two: Adding ContentTopic Two: Adding Content
Topic Two: Adding Content
 

Viewers also liked

Inside out
Inside outInside out
Inside outmbosch59
 
Halloween ghosts 2n
Halloween ghosts 2nHalloween ghosts 2n
Halloween ghosts 2nmbosch59
 
Agiles Software-Projektmanagement mit SCRUM
Agiles Software-Projektmanagement mit SCRUMAgiles Software-Projektmanagement mit SCRUM
Agiles Software-Projektmanagement mit SCRUMkaeff
 
Cbre chuyen de cao oc van phong hien dai 21-10-2009 - website
Cbre chuyen de cao oc van phong hien dai   21-10-2009 - websiteCbre chuyen de cao oc van phong hien dai   21-10-2009 - website
Cbre chuyen de cao oc van phong hien dai 21-10-2009 - websitenhockiki
 

Viewers also liked (9)

Inside out
Inside outInside out
Inside out
 
Viet rees
Viet reesViet rees
Viet rees
 
Abhimukham
AbhimukhamAbhimukham
Abhimukham
 
Halloween ghosts 2n
Halloween ghosts 2nHalloween ghosts 2n
Halloween ghosts 2n
 
upload 2
upload 2upload 2
upload 2
 
Class 8 Jalayudhangal
Class 8 JalayudhangalClass 8 Jalayudhangal
Class 8 Jalayudhangal
 
Akitham Interview
Akitham InterviewAkitham Interview
Akitham Interview
 
Agiles Software-Projektmanagement mit SCRUM
Agiles Software-Projektmanagement mit SCRUMAgiles Software-Projektmanagement mit SCRUM
Agiles Software-Projektmanagement mit SCRUM
 
Cbre chuyen de cao oc van phong hien dai 21-10-2009 - website
Cbre chuyen de cao oc van phong hien dai   21-10-2009 - websiteCbre chuyen de cao oc van phong hien dai   21-10-2009 - website
Cbre chuyen de cao oc van phong hien dai 21-10-2009 - website
 

Similar to User guide

Facebook Open Graph Tech Requirements
Facebook Open Graph Tech RequirementsFacebook Open Graph Tech Requirements
Facebook Open Graph Tech RequirementsAffinitive
 
Creating a content managed facebook app
Creating a content managed facebook appCreating a content managed facebook app
Creating a content managed facebook appOS-Cubed, Inc.
 
Flash Tutorial
Flash TutorialFlash Tutorial
Flash TutorialAdil Jafri
 
Cis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry universityCis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry universitylhkslkdh89009
 
Reff 04 macme-installation-tutorial
Reff 04 macme-installation-tutorialReff 04 macme-installation-tutorial
Reff 04 macme-installation-tutorialSalvatore Iaconesi
 
Magento 2 facebook shop
Magento 2 facebook shopMagento 2 facebook shop
Magento 2 facebook shopTheMagicians
 
Customization: Buttons & Links
Customization: Buttons & LinksCustomization: Buttons & Links
Customization: Buttons & LinksWebsiteAlive
 
App creation guide
App creation guideApp creation guide
App creation guide3D Issue
 
Magento 2 Advance Shop By Brand Extension, Display Logo Slider on Store
Magento 2 Advance Shop By Brand Extension, Display Logo Slider on StoreMagento 2 Advance Shop By Brand Extension, Display Logo Slider on Store
Magento 2 Advance Shop By Brand Extension, Display Logo Slider on StoreBiztech Store
 
WebsiteAlive Customization - Adding Buttons & Links to Your Website
WebsiteAlive Customization - Adding Buttons & Links to Your WebsiteWebsiteAlive Customization - Adding Buttons & Links to Your Website
WebsiteAlive Customization - Adding Buttons & Links to Your WebsiteWebsiteAlive
 
Joomla 3 installation and management guide
Joomla 3 installation and management guideJoomla 3 installation and management guide
Joomla 3 installation and management guideSingsys Pte Ltd
 
A Step-By-Step Guide to Facebook Marketing
A Step-By-Step Guide to Facebook MarketingA Step-By-Step Guide to Facebook Marketing
A Step-By-Step Guide to Facebook MarketingPage 1 Solutions
 
Mondo Guide V02 - WORD
Mondo Guide V02 - WORDMondo Guide V02 - WORD
Mondo Guide V02 - WORDMondoexplorer
 
6 Special Howtos for Drupal
6 Special Howtos for Drupal6 Special Howtos for Drupal
6 Special Howtos for DrupalWingston
 
Magento 2 Advance Shop By Brand Extension
Magento 2 Advance Shop By Brand ExtensionMagento 2 Advance Shop By Brand Extension
Magento 2 Advance Shop By Brand ExtensionAppJetty
 

Similar to User guide (20)

Facebook Open Graph Tech Requirements
Facebook Open Graph Tech RequirementsFacebook Open Graph Tech Requirements
Facebook Open Graph Tech Requirements
 
Creating a content managed facebook app
Creating a content managed facebook appCreating a content managed facebook app
Creating a content managed facebook app
 
Joomla Day2
Joomla Day2Joomla Day2
Joomla Day2
 
Flash Tutorial
Flash TutorialFlash Tutorial
Flash Tutorial
 
Cis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry universityCis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry university
 
Reff 04 macme-installation-tutorial
Reff 04 macme-installation-tutorialReff 04 macme-installation-tutorial
Reff 04 macme-installation-tutorial
 
Magento 2 facebook shop
Magento 2 facebook shopMagento 2 facebook shop
Magento 2 facebook shop
 
Customization: Buttons & Links
Customization: Buttons & LinksCustomization: Buttons & Links
Customization: Buttons & Links
 
App creation guide
App creation guideApp creation guide
App creation guide
 
Magento 2 Advance Shop By Brand Extension, Display Logo Slider on Store
Magento 2 Advance Shop By Brand Extension, Display Logo Slider on StoreMagento 2 Advance Shop By Brand Extension, Display Logo Slider on Store
Magento 2 Advance Shop By Brand Extension, Display Logo Slider on Store
 
WebsiteAlive Customization - Adding Buttons & Links to Your Website
WebsiteAlive Customization - Adding Buttons & Links to Your WebsiteWebsiteAlive Customization - Adding Buttons & Links to Your Website
WebsiteAlive Customization - Adding Buttons & Links to Your Website
 
Joomla 3 installation and management guide
Joomla 3 installation and management guideJoomla 3 installation and management guide
Joomla 3 installation and management guide
 
A Step-By-Step Guide to Facebook Marketing
A Step-By-Step Guide to Facebook MarketingA Step-By-Step Guide to Facebook Marketing
A Step-By-Step Guide to Facebook Marketing
 
Mondo Guide V02 - WORD
Mondo Guide V02 - WORDMondo Guide V02 - WORD
Mondo Guide V02 - WORD
 
6 Special Howtos for Drupal
6 Special Howtos for Drupal6 Special Howtos for Drupal
6 Special Howtos for Drupal
 
Power editor
Power editorPower editor
Power editor
 
Creating wordpress website step by step easy
Creating wordpress website step by step easyCreating wordpress website step by step easy
Creating wordpress website step by step easy
 
Power editor guide (quảng cáo Facebook)
Power editor guide (quảng cáo Facebook)Power editor guide (quảng cáo Facebook)
Power editor guide (quảng cáo Facebook)
 
Magento 2 Advance Shop By Brand Extension
Magento 2 Advance Shop By Brand ExtensionMagento 2 Advance Shop By Brand Extension
Magento 2 Advance Shop By Brand Extension
 
Theme guide
Theme guideTheme guide
Theme guide
 

Recently uploaded

Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 

Recently uploaded (20)

Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 

User guide

  • 1. Facebook Like Button V1.5.0 Notice: This product is not endorsed by Facebook. Retail Evolved is not affiliated with Facebook. Updated: July 25, 2010
  • 2. What is Facebook Like Button? Facebook recently announced a Like button that allows you to be more connected to your customer’s and their Facebook friends. This button can be used on any page and provides an easy way for Facebook users to post pages to their profiles that they like. This extension adds a Like button to the top of all Magento product, category, and CMS pages. It automatically configures the page to use the main product / category image and product / category name to enable quality shared content. Features  Add Like buttons (iFrame type) to your entire catalog and CMS pages in 5 minutes – allow your customers to recommend your products, categories, and pages to all of their Facebook friends  Like buttons can be placed on your product grid / list  Supports ‘ref’ parameter  Open Graph compatible – send messages to fans for every product that gets “liked” on your site  Customize the placement of the Like button  Configure all aspects of the Like button from one place in Magento admin  Supports both iFrame and XFBML buttons  Automatically provides a quality title and image for your shared content  Quick and easy install - just upload and refresh your cache  Works with Magento versions 1.2.x, 1.3.x, ,1.4.x and EE  30 day money back guarantee  30 days of free support Installation 1. Backup your Magento directory 2. Unzip the downloaded file 3. Using an FTP client, upload the “app” directory into your Magento directory 4. If you are using a package or theme other than the default package and theme, copy everything in app/design/frontend/default/default/ to app/design/frontend/[package]/[theme]/ 5. If you are planning on using XFBML buttons, you will need to edit some template files to support Internet Explorer a. In the following files, change the opening html tag to read: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraph.org/schema/" lang="<?php echo $this->getLang() ?>"> 1) app/design/frontend/[package]/[theme]/template/page/1column.phtml 2) app/design/frontend/[package]/[theme]/template/page/2columns-left.phtml 3) app/design/frontend/[package]/[theme]/template/page/2columns-right.phtml 4) app/design/frontend/[package]/[theme]/template/page/3columns.phtml 6. Refresh your cache a. Log in to your Magento admin area b. Go to System->Cache Management c. Select “Refresh” from the “All Cache” drop down d. Click “Save cache settings” Page 2 of 8
  • 3. 7. After refreshing, you may need to log out and log back in to the admin area to gain access to the configuration options for Facebook Like Button Upgrading Follow installation instructions and respond “Yes” to any prompts to overwrite files. As always, back up your website files before installing / upgrading. Don’t forget to refresh your cache after upgrading! Upgrade Note: If upgrading from a version prior to 1.3.3, you will be adding the Open Graph functionality. By default, it is turned off to avoid confusion. Turning it on may appear to delete all of your “likes”, but they will be restored properly as soon as somebody “likes” the page again. This is an issue with Facebook’s API and will hopefully be corrected by them soon. Configuring Facebook Like Button Attention! If you are using one of the many Magento extensions that utilize Facebook Connect or have added in Facebook Connect functionality on your own, you MUST read “Facebook Connect Compatibility” for additional instructions. Like buttons can be easily configured from your Magento Admin site. To access settings, go to System- >Configuration->Facebook Like Button. Hide Default Product Button?: Set to “Yes” to hide the default product button if you are going to customize button placement on product pages. Hide Default Category Button?: Set to “Yes” to hide the default category button if you are going to customize button placement on category pages. Enable Open Graph Protocol?: It is recommended that this be set to “Yes”. Enabling open graph requires a valid App ID. See “Enabling XFBML Buttons or Open Graph”. When this is set to “Yes”, a fan page will be created for every product on your site that gets “liked”. From there, you can manage your pages and publish messages to your fans. Note: If you have accumulated “likes” while this was not enabled, they may appear to be erased after enabling. They will reappear after your customers “like” your pages again. This is a Facebook API quirk that they will hopefully correct soon  Site Name: When provided, the note posted to the customer’s feed on Facebook will include the Site Name (i.e. “Joe Schmo likes Cool Widget on Amazing Store.”). If left blank, the Site Name will not be included (i.e. “Joe Schmo likes Cool Widget.”). Note that if your customer leaves a comment when they “like” your product that the base URL of your store will be displayed instead of the Site Name. This is Facebook’s design choice. Use Rewrites if Available?: Set to Yes to use the product rewrite created by Magento if it is available. Only set to No if you were using a version of this extension prior to 1.3.2 and are worried about losing a record pages your customers liked. Button Type: We recommend using XFBML for a better experience for you and your customers. Refer to the section of this document titled “iFrame vs. XFBML Button Types” for more information. App ID: This is required if you are using the XFBML button type or want to use the Open Graph protocol to manage pages and publish messages to your fans. Page 3 of 8
  • 4. Layout Style: “standard” displays more text next to the button. “button_count” simply displays the number of people that have liked the page. This can be configured separately for the product view, category view, CMS pages, product grid view, and product list view. Show Faces: Set to “Yes” to show faces of customer’s friends who liked the product. This can be configured separately for the product view, category view, CMS pages, product grid view, and product list view. Width: The width of the Like button container. This can be configured separately for the product view, category view, CMS pages, product grid view, and product list view. Note: For XFBML buttons, setting this below 220 will have no effect – the displayed XFBML button cannot be thinner than 220 pixels. Height: The height of the Like button container. This can be configured separately for the product view, category view, CMS pages, product grid view, and product list view. Ref: The ‘ref’ parameter is optional and is used to help with A/B testing (determining where the best place is for your Like button). It also causes Facebook to provide more details in the shared URL when somebody follows a shared link. This can be configured separately for the product view, category view, CMS pages, product grid view, and product list view. See the “Facebook Like ‘ref’ Parameter” section for details. Verb to display: Self-explanatory – button either says “Like” or “Recommend” Font: The font to display. Color Scheme: Dark or light, your choice. Use Categories in URLs?: Setting this to “Yes” will include the category in product URLs that get shared. You should only enable this if you have customized your site to use URLs that include categories as your canonical URLs. Otherwise, you run the risk of duplicate shares as search results do not include the category in the product URLs by default. Open Graph Protocol Enabling the Open Graph Protocol means that you can send messages to fans of your products via Facebook pages. To make this work, you must have set up a valid App ID (see “Enabling XFBML Buttons or Open Graph”) and configured it in the Magento admin. To access the product’s Facebook page, an administrator of the Facebook application must click the Like button on the product’s page on your website. The Facebook user that initially created the application is automatically added as an administrator. You can add more administrators from the “Widgets” tab of your Facebook application settings. After an administrator has “liked” the product page, you should see an “Admin Page” link next to the like button on the product page. Clicking this will take you to the Facebook page where you can broadcast messages and manage fans. Note: Currently, Facebook does not provide one place where you can broadcast messages to anybody who has liked any product on your site. It can currently only be done at the product / page level. iFrame vs. XFBML Button Types There are two types of Facebook Like buttons: iFrame and XFBML. The iFrame buttons are the quickest and easiest to get up and running. However, they lack two features which may be necessary for you: Page 4 of 8
  • 5. 1. Commenting is only enabled on iFrame buttons with a width of at least 450 pixels 2. XFBML buttons allow you to subscribe to JavaScript events when a user clicks on the Like Button: This is done by subscribing to the ‘edge.create’ event through ‘FB.event.subscribe’ (see http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe for details) Enabling XFBML Buttons or Open Graph To enable XFBML buttons, you will need to set up and configure a Facebook application. This is easier than it sounds: 1. If you haven’t already done so, create a Facebook account 2. Go to http://www.facebook.com/developers 3. Click Set Up New Application 4. Enter an Application Name and Agree to the terms 5. Click on the Connect tab on the left 6. Enter your domain name with a trailing slash in Connect URL (i.e. “http://retailevolved.com/”) – Note: This must be an exact match of your base url, including a “www” if applicable 7. Save your changes 8. In the Facebook Like Button configuration in your Magento admin, enter the Application ID in the App ID field Lastly, you will need to edit some template files in Magento to support Internet Explorer: In the following files, change the opening html tag to read: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraph.org/schema/" lang="<?php echo $this->getLang() ?>"> 1. app/design/frontend/[package]/[theme]/template/page/1column.phtml 2. app/design/frontend/[package]/[theme]/template/page/2columns-left.phtml 3. app/design/frontend/[package]/[theme]/template/page/2columns-right.phtml 4. app/design/frontend/[package]/[theme]/template/page/3columns.phtml Like Button ‘ref’ Parameter The ‘ref’ parameter is used to help with A/B testing (determining where the best place is for your Like button). It also causes Facebook to add some parameters to the URL when it is followed from a shared link. From Facebook’s documentation (http://developers.facebook.com/docs/reference/plugins/like): “The ref attribute causes two parameters to be added to the URL when a user clicks a link from a stream story about a Like action: 1. fb_ref – the ref parameter 2. fb_source – the stream type (‘home’, ‘profile’, ‘search’, ‘other’) in which the click occurred and the story type (‘oneline’ or ‘multiline’), concatenated with an underscore.” At this time, the extension will not handle these parameters in any special way. We encourage you to use Google Analytics to take full advantage of this feature. Customize Button Placement – Product Page If you don’t like where the button is placed by default on your product page, you can easily change its placement: Page 5 of 8
  • 6. 1. Set System->Configuration->Facebook Like Button->Hide Default Product Button? to “Yes” 2. Next, in app/design/frontend/[package]/[theme]/template/catalog/product/view.phtml add this snippet wherever you would like the button to appear: a. <?php echo $this->getChildHtml('info.likebutton') ?> Customize Button Placement – Category Page If you don’t like where the button is placed by default on your category page, you can easily change its placement: 1. Set System->Configuration->Facebook Like Button->Hide Default Category Button? to “Yes” 2. In app/design/frontend/[package]/[theme]/template/catalog/category/view.phtml add this snippet wherever you would like the button to appear: a. <?php echo Mage::helper('evlike')->getLikeHtml($this, $_category, true) ?> The code snippet should generally be added in three places, once for each category display mode: “Products only”, “Static block only”, and “Static block and products”. Customize Button Placement – CMS Page If you don’t like where the button is placed by default on your CMS page, you can easily change its placement: 1. Set System->Configuration->Facebook Like Button->Hide Default CMS Button? to “Yes” 2. In the content of your CMS page, add this snippet wherever you would like the button to appear: a. {{block type= "evlike/cms_like" template= "evlike/likebutton.phtml" name= "cms.likebutton"}} Adding Like Button to Product Grid / List New in version 1.3 is the ability to add a Like button to your product grid / list: 1. In app/design/frontend/[package]/[theme]/template/catalog/product/list.phtml add the following code snippet where you would like the button to appear: <?php echo Mage::helper('evlike')->getLikeHtml($this, $_product) ?> You will need to add this snippet in two places – once for grid mode and once for list mode. Note that the snippet needs to be inside of the foreach loop that begins with <?php foreach ($_productCollection as $_product) ?>. Facebook Connect Compatibility If you intend to use XFBML Like buttons and if you are using an extension or have added a customization that adds the following line to your page source, you MUST follow the instructions in this section: <script src=”http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US” type=”text/javascript”></script> Note that the “en_US” will be your locale. This include is incompatible with XFBML buttons. Here is what Facebook’s developer wiki has to say: “Important: You need to reference the FeatureLoader script only once on a page. If you already have a Facebook Connect social widget on this page, you don’t need to reference the FeatureLoader script again.” To get around this, you will need to conditionally include the FeatureLoader script on pages that do not have a Like button on them. We have found that the simplest way to accomplish this is by using the following code in the template file that includes the FeatureLoader script: Page 6 of 8
  • 7. <?php if(!Mage::registry('product') && !$this->getLayout()->getBlock('likebutton') && !$this->getLayout()- >getBlock('defaultcat.likebutton') && !$this->getLayout()->getBlock('cat.likebutton') && !$this->getLayout()- >getBlock('defaultcms.likebutton') && !$this->getLayout()->getBlock('cms.likebutton')): ?> <!-- code to include FeatureLoader script --> <?php endif; ?> The file you will edit will be different depending on your extension or customization. If you are having troubles with this, please contact support@retailevolved.com and we will do our best to assist you. Un-installation 1. Remove the following from your Magento directory: a. app/code/local/Evolved/Like b. app/etc/Evolved_Like.xml c. app/design/frontend/[package]/[theme]/layout/evlike.xml d. app/design/frontend/[package]/[theme]/template/evlike 2. Refresh your cache a. Log in to your Magento admin area b. Go to System->Cache Management c. Select “Refresh” from the “All Cache” drop down d. Click “Save cache settings” Change Log Version 1.1  Added support for Site Name (og:site_name meta tag)  Fixed bug that cut off titles of products with quotation marks (“) in names or descriptions Version 1.2  Added automatic selection of locale when using XFBML  Updated documentation with “Facebook Connect Compatibility” section Version 1.3  Added support for adding the Like button to product grid / list  When sharing with comments (XFBML), the short description will be used in the user’s post – if it is not available, description will b  e used  Fixed bug that would post site information to Facebook instead of product information if the product’s description was empty  Changed method of generating the product URL to be shared – in certain instances, it would use the wrong URL (based on Virtual Host configuration on your web server)  Fixed bug that would cause an empty SID to be appended to the generated URL in rare instances Version 1.3.1  Uses canonical URLs so that product URLs will be consistent regardless of the setting you have specified for “Use categories path for product URLs” Page 7 of 8
  • 8. Version 1.3.2  Added support for any combination of “Use Web Server Rewrites” and “Add Store Code to Urls” settings – previously, these were ignored, resulting in potentially inaccurate product URLs (depending on your configuration)  Added support for product URL rewrites – if one exists, it is used instead of the product’s URL key  Fixed bug that would prevent the site name from being displayed in Facebook if the like button was using the “button_count” style and was in a grid view  Fixed bug that was preventing XFBML buttons from working for Australian domains Version 1.3.3  Added Open Graph support – send messages to fans of your products via Facebook pages Version 1.4.0  Added support for putting the Like button on a category page – in other words, your customers can now “like” your category pages, not just your products  Added support for including the category in the shared product URL  Made it easier to customize button placement (turn on / off default buttons in admin) Version 1.5.0  Added support for putting the Like button on CMS pages  Added locale support to iFrame button type  Added support for “ref” tag, a new Facebook feature that helps a/b test button positioning and provides information about where a link was followed from on Facebook (i.e. profile_oneline indicates that a one- line comment from a user’s Profile page was clicked) Page 8 of 8