Page 1 of 2 12 LastLast
Results 1 to 10 of 347

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by delia View Post
    I just checked the developers forum and there are others in the same boat. Facebook has replied but it was a really weak answer. I have asked them to escalate this apparent bug. It has to be due to a change in their script.
    Hey Delia!
    Thanks for the contribution and I'm in the same boat with regards to the error.
    One thing though.
    I caught the tpl_product_info_display.php naming error but the instructions also suggests that the meta_tags.php file is in includes/modules/my_template folder.
    Shouldn't that be the includes/modules folder?

    Also, I'm no coding expert but, while adding
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml">
    to my html_header.php file, it shows in my editor as just black text, as if it needs, or is missing something.
    PHP Code:
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS?> xmlns:fb="http://www.facebook.com/2008/fbml">
    Thanks again.
    Fine Jewelry For Any Budget
    Sterling Leaf Jewelry
    Rolling in the Zen

  2. #2
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    ZC v1.3.8a
    Hang on here.
    I get the FB error on certain items, for example
    http://minu.me/37a7
    but it is working on other items and working just fine.
    For example http://minu.me/37aa
    Fine Jewelry For Any Budget
    Sterling Leaf Jewelry
    Rolling in the Zen

  3. #3
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Excuse me for not including this in one of my previous posts but, how can I edit the look of the widget?
    As you can see, or cannot see, the "Be the first of your friends to like this." is lost on my black template.

    Thanks so much for this cool addition and I hope the bugs get worked out of it.
    Fine Jewelry For Any Budget
    Sterling Leaf Jewelry
    Rolling in the Zen

  4. #4
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: Facebook Like Button

    Ill try to extract the codes I use on my cart and send them to you to see if it helps. I was making a social media mod that I had to put a side due to some other things going on. You can check it out at my clients website http://www.gotleather.com just pick a product and you'll see it.

    Charles
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  5. #5
    Join Date
    Sep 2010
    Posts
    129
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by jabbawest View Post
    Excuse me for not including this in one of my previous posts but, how can I edit the look of the widget?
    As you can see, or cannot see, the "Be the first of your friends to like this." is lost on my black template.

    Thanks so much for this cool addition and I hope the bugs get worked out of it.
    Has anybody answered this??


    For the share options I used this add on works great!

    http://www.zen-cart.com/index.php?ma...oducts_id=1705
    Silver Jewellery

    RESPECT to the Zen Cart Team, I'm PERFECTLY Zenned!

  6. #6
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    Quote Originally Posted by jabbawest View Post
    Hey Delia!
    Thanks for the contribution and I'm in the same boat with regards to the error.
    One thing though.
    I caught the tpl_product_info_display.php naming error but the instructions also suggests that the meta_tags.php file is in includes/modules/my_template folder.
    Shouldn't that be the includes/modules folder?

    Also, I'm no coding expert but, while adding
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml">
    to my html_header.php file, it shows in my editor as just black text, as if it needs, or is missing something.
    PHP Code:
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS?> xmlns:fb="http://www.facebook.com/2008/fbml">
    Thanks again.
    No, the metatags.php is already there. This is a change so belongs in the override folder.

    The added code for html header is required by facebook and the the editor may not like the php code inthe middle of it.

    By the way, the template file is named correctly in the contribution; I was just calling it the wrong thing here in this thread..
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  7. #7
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    Okay, the failure that gives the error

    "Error Creating Page There was an internal error when updating the Page."

    is a bug. Temporary fix is to exclude one of the required parameters in html_header.php.
    Change <meta property="og:type" content="product"/> on line 27 to <!-- <meta property="og:type" content="product"/> -->

    This is a bug reported and accepted on Oct 21. No telling when it gets fixed but I should get notified.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  8. #8
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by delia View Post
    No, the metatags.php is already there. This is a change so belongs in the override folder.

    The added code for html header is required by facebook and the the editor may not like the php code inthe middle of it.

    By the way, the template file is named correctly in the contribution; I was just calling it the wrong thing here in this thread..
    Thank you for the updates and answering my questions Delia, however, the file is named correctly but the mod instructions do refer to tpl_product_info.php instead of tpl_product_info_display.php
    Not a biggy for me but might be for someone new to ZC mod installs.

    Thanks again,
    Stephen
    Fine Jewelry For Any Budget
    Sterling Leaf Jewelry
    Rolling in the Zen

  9. #9
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    ah, thanks. I'll make that correction.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  10. #10
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    To those having error with the facebook like button it appears that <meta property="og:type" content="product"/> is the cause of the problem. Temporarily commenting out or removing that meta tag solves the problem. Not exactly sure what's going on with Facebook.

    I also noticed that after removing that line, I no longer have access to the admin page when a page is liked. Since the error message is actually related to not been able to connect to Facebook to create the page (when og:type is enabled) it will make some sense to think that's the reason the admin page doesn't exist.

    Hopefully, Facebook will solve this issue soon.

 

 
Page 1 of 2 12 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