Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2010
    Posts
    5
    Plugin Contributions
    0

    Default Facebook like button on main page

    I've looked online and all I could find was creating a Facebook like button on the products page, I was wondering how to create a Facebook like button on the main page.

    Any help would be appreciated, thank you.

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Facebook like button on main page

    That really depends a LOT on where you want it.......Header, footer, sidebox, smack dab in the middle of the page ..........?
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Nov 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook like button on main page

    I would like it on the left of the page always. top if possible. Any help would be Great! I am using the classic template setup.

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Facebook like button on main page

    Somewhere like right about here?
    Attached Images Attached Images  
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Facebook like button on main page

    Or somewhere like about here?
    Attached Images Attached Images  
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  6. #6
    Join Date
    Nov 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook like button on main page

    The first one you posted :).

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Facebook like button on main page

    Do you already have your image uploaded to your images folder ?

    Okay, find and open includes/templates/classic/common/tpl_main_page.php

    if you've never edited this file, the you should find it in the same place in templat_default.

    In that file, find this line:

    Code:
    <!-- eof breadcrumb -->
    and directly beneath it add something like this:

    Code:
    <div id="facebook"><a href="http://www.facebook.com/profile.php?id=100001272037048" target="_blank"><img src="images/fb_button.jpg"  alt="" /> </a></div>
    Of course, you'll have to use your own FaceBook ID and image name, but that should get you off to a good start.

    Sorry so long about the post........got a little tied up.
    Last edited by Get Em Fast; 19 Nov 2010 at 02:52 AM.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Nov 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook like button on main page

    Hey, thanks dude :). No problem at all abut the time, you were nice enough to answer at all :).


    I used the Facebook tool at facebook.com/share to come up with this code. it puts a like button and tells how many people have liked it already and likes it for you on facebook and if youre not signed in, it pops up with a sign in pop up. My main problem was knowing where to put this code and i put in the same place as you told me to put the other code and it worked great :) Here's my site http://epcommunications.net/ check it out if you want


    <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FEP-Communications%2F124300277629737%23&amp;layout=standard&amp;show_faces=true&amp; width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

  9. #9
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Facebook like button on main page

    Looks good. Glad I could help.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  10. #10
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Facebook like button on main page

    Quote Originally Posted by qwerty6532 View Post
    Hey, thanks dude :). No problem at all abut the time, you were nice enough to answer at all :).


    I used the Facebook tool at facebook.com/share to come up with this code. it puts a like button and tells how many people have liked it already and likes it for you on facebook and if youre not signed in, it pops up with a sign in pop up. My main problem was knowing where to put this code and i put in the same place as you told me to put the other code and it worked great :) Here's my site http://epcommunications.net/ check it out if you want


    <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FEP-Communications%2F124300277629737%23&amp;layout=standard&amp;show_faces=true&amp; width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
    The way you have set this up is to "like" your facebook page not your website page.

    As you don't appear to have a link to your facebook page
    Is this what you intended?

    Normally you would "like" the website page so the website link is pasted onto those peoples facebook wall

    Anyone clicking their link would take them to your website.
    Now it takes them to your facebook page

 

 

Similar Threads

  1. v150 Facebook Like Button main Page
    By oitem in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 27 Apr 2013, 08:39 AM
  2. Facebook "Like" button on every product page?
    By scrap in forum Templates, Stylesheets, Page Layout
    Replies: 114
    Last Post: 17 Apr 2013, 03:58 PM
  3. Facebook "Like" Button on each product page - where to add FB details?
    By Yaro in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 6 Jun 2012, 11:26 AM
  4. facebook like button and google + button in Header.
    By Horrific_ending in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Jan 2012, 04:46 PM
  5. Facebook like button on main page?
    By qwerty6532 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 19 Nov 2010, 12:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR