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

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Recently uploaded (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

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