Results 1 to 10 of 347

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    I hoped someone had found a way around the limited text colors....damn.

    FWIW,
    I've installed this ad-on to my zc1.5 site, and ran into the the FBimg, FB Title issue again.
    Link to another thread on this subject in case anyone has a hint or two...
    http://www.zen-cart.com/showthread.p...57#post1155057

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

    Default Re: Facebook Like Button

    If you are trying to do a facebook like on any other pages besides the product page, that is what happens. The mod is set only for the product pages.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  3. #3
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    No, I installed it exactly per the instructions.
    Not trying to customize or do anything unusual at all.

    The "Like" button and text appear on the product pages only.

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

    Default Re: Facebook Like Button

    You sure you have replaced / merged the modules/metatags.php and the templates/common/tpl_html_header.php. Both go into your override template folders so be sure you have not just uploaded the folder in the package which of course is not named correctly.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  5. #5
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    I just downloaded a copy of includes/modules/CUSTOM/meta_tags.php and compared it with the same file in the add-on using WinMerge. No differences at all.


    templates/common/tpl_html_header.php....?
    I do not have this file, searched all files.

    I do have:
    includes/templates/CUSTOM/common/html_header.php
    includes/templates/CUSTOM/common/tpl_header.php
    Last edited by Serious; 4 Oct 2012 at 06:07 PM.

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

    Default Re: Facebook Like Button

    @ serious

    I just used the dark --- actually it was to show on dark backgrounds is what I used...that just lets the link show up in the stores link color of choice

    you are right there is no tpl_html_header.php, it was a mistyped thing...you have the two correct files.
    Last edited by DarkAngel; 5 Oct 2012 at 03:39 AM.

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

    Default Re: Facebook Like Button

    Still ugly! Thanks DarkAngel
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

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

    Default Re: Facebook Like Button

    ok, I have some code that trust me I have no idea where it came from but...I remember once I was having an issue with FB changing their button and not liking the share/like thumbs up button...soooooo

    this is the code I have for my link...which is worded a little different with my own FB button I did like...lol In red is where I added the color for the font of the text and the text I decided on...it changes the text of the wording to your choice, regardless of what your links are set to be for your store.



    in the tpl_product_info_display.php I placed mine here so look for the first line in your file if you want it in the same place...go to my store to see where it is and what it looks like---my live store is not with colored text, otherwise put it where you want your link to appear. I also added the breaks to give it some space below and above it.

    ------------------------------beginning of code-----------------------------------

    <!--eof Product Price block -->
    <br><br>

    <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 color=#cc0000>&nbsp;&nbsp;Share on FaceBook: &nbsp;<strong><?php echo $products_name; ?></strong></a></font><br><br><br><br>

    ------------------------------end of code------------------------------------

    hope it helps

 

 

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