Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 347

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    960 MARKHAM ROAD, APPT # 1101, SCARBOROUGH, ON. M1H 2Y4 Canada
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    I would like to add my own image in place of the standard Facebook image to link to my page there. I'm having difficulties getting it done though. Can anybody help me?

  2. #2
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by volkeram View Post
    I would like to add my own image in place of the standard Facebook image to link to my page there. I'm having difficulties getting it done though. Can anybody help me?
    do you mean where your FB link in product page is, you have a small image to use instead of that thumb?


    I have this code added red for the image and purple for how I changed the wording:

    place it in tpl_product_info_display.php also which I put after <!--eof Product Price block -->

    <script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolb ar=0,status=0,width=626,height=436');return false;}</script><style> html .fb_share_link { padding:2px 0 0 20px; height:32px;) no-repeat top left; }</style><a href="http://www.facebook.com/share.php?u=<?php echo "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . "?" . $_SERVER['QUERY_STRING'];?>" onclick="return fbs_click()" target="_blank" class="fb_share_link"><img src=http://fantasiesrealm.com/images/facebook.gif width=25><font size=+2>&nbsp;&nbsp;Share on FaceBook: &nbsp;<strong><?php echo $products_name; ?></strong></a></font><br/><br/><br/><br/>

    ***all the <br/> are there by me fo spacing on my template you can go to my store to look where I have my FB link at in product pages...so those can be removed.***

    hope this helps

  3. #3
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Hello Everyone,

    Does anyone know how I can get rid of the following text on my product info page, right next to my Facebook Like and Share buttons?

    Be the first of your friends to like this.
    and/or

    Sign Up to see what your friends like.
    Its causing havoc on my responsive template for 240 and 320 pixel width devices.

    Any help, always appreciated,
    Danny
    Daniel Osko

  4. #4
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Hi, Couple Issues when I attempt to create a Link to my site in Facebook; THE TITLE: When I post a link from my site into Facebook for any page that isn't a direct Product page it generates a title of "META_TAG_FBTITLE".

    http://www.king-magic.com

    All the files upload to right folders .

  5. #5
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by dmagic View Post
    Hi, Couple Issues when I attempt to create a Link to my site in Facebook; THE TITLE: When I post a link from my site into Facebook for any page that isn't a direct Product page it generates a title of "META_TAG_FBTITLE".

    http://www.king-magic.com

    All the files upload to right folders .

    the only thing I found different in your code for meta tag and FB and my own is this line:

    <meta property="og:url" content="I have my store link written here"/>


    I have my store link where it is red ending right after market/ just like your link that I followed.

    try adding that and see if it works.

  6. #6
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by DarkAngel View Post
    the only thing I found different in your code for meta tag and FB and my own is this line:

    <meta property="og:url" content="I have my store link written here"/>


    I have my store link where it is red ending right after market/ just like your link that I followed.

    try adding that and see if it works.
    i'ts not work - <meta property="og:url" content="ht tp://ww w.king-magi c.co m"/>

  7. #7
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Very strange
    If I click on a product detial - Like - it works! - the mod work.

    But if I add link to my site Facebook directly link to this site gives me
    META_TAG_FBTITLE


    please help to resolve

  8. #8
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by dmagic View Post
    Very strange
    If I click on a product detial - Like - it works! - the mod work.

    But if I add link to my site Facebook directly link to this site gives me
    META_TAG_FBTITLE


    please help to resolve
    yes if you are having it work right as is at the store then it is correct...but you did not say that it is happening when you post directly to the FB site. mine occasionally does this if I have a generic link but most usually if I post a product page link then I get the image....

    I do my post at FB then hit the link button to add the link and when it posts there is the product name/description and the image.

  9. #9
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    that's the problem .
    when i post direct link from my site so have the problem .

    look the picture .


  10. #10
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Waiting resolve my problem .

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Facebook like button
    By petestownrich in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Feb 2015, 07:02 PM
  2. v151 facebook like button
    By ken1 in forum General Questions
    Replies: 0
    Last Post: 14 May 2014, 07:03 PM
  3. Facebook like button
    By bocahydro in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Mar 2014, 01:48 PM
  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
    By rdsbaker in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 25 Mar 2011, 07:00 PM

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