Totally Zenned
- Join Date:
- Oct 2008
- Posts:
- 594
- Plugin Contributions:
- 0
Facebook Like Button
Waiting resolve my problem . :huh:
Views: 52,534
Totally Zenned
Waiting resolve my problem . :huh:
Totally Zenned
dmagic:
Waiting resolve my problem . :huh:
not sure what is happening but to test it I went to your store and chose the ring magic trick....copied the link then went to FB
at FB I clicked on "link" then copied the link into there and as you can see it worked right for me....maybe a problem with what you have written for your FB settings?
is where you posted it your personal FB page? I went to one that is Kingmagic that shows your sites url and the items there show right.
Totally Zenned
Ok , thank you for test , now i went to try with another computer !
..... i back . ....
You right if you put link from my products is ok . :laugh:
but if you put the link for www. king-magic . com
so have problem :dontgetit.
Totally Zenned
dmagic:
Ok , thank you for test , now i went to try with another computer !
..... i back . ....You right if you put link from my products is ok . :laugh:
but if you put the link for www. king-magic . comso have problem :dontgetit.
well I am confused --- you see the link I put at FB was from that www.king-magic.com NOT from any other place.
I went to the store, copied the link from the location bar in Firefox then went to FB and clicked on the "link" there to insert the link then hit attach for it to show into my post there..
Unless you mean you are only inserting the main store link....then that is why it will show that bit of info instead of the product...there is no product just the store link and you might be able to click on it to either delete it or change the name, not sure but it may be an FB issue not the store software/mods
yes i just tried it and you can change that meta part to whatever you want by just click on it to edit it
New Zenner
I have been trying to add the send button now available from facebook, anybody have any luck with that?
Totally Zenned
labatts03:
I have been trying to add the send button now available from facebook, anybody have any luck with that?
If it is not part of this module then a new thread should be started...that way folks won't get confused and think it is part of the mod.
Totally Zenned
labatts03:
I have been trying to add the send button now available from facebook, anybody have any luck with that?
The new send button can be added in just like any other parameter. DarkAngel, can you explain exactly what you did to do the color scheme change? Thanks for helping!
The extra parameter is simply send=true.
Totally Zenned
delia:
The new send button can be added in just like any other parameter. DarkAngel, can you explain exactly what you did to do the color scheme change? Thanks for helping!
The extra parameter is simply send=true.
since I don't like that thumb image I took it off but to get the color change all I did was add this to the code given
<div id="likeButton"><fb:like colorscheme="dark"></fb:like></div>New Zenner
delia:
The new send button can be added in just like any other parameter. DarkAngel, can you explain exactly what you did to do the color scheme change? Thanks for helping!
The extra parameter is simply send=true.
Thanks, I tried to set that up in the code and no luck, I am not sure how I entered wrong, but could not figure out how to do it correctly.
I ended up getting the code that face book provided and stuck that in the product_info page. It seems to work so far, do not know if it is right or not
Totally Zenned
The full code for the facebook like button is this:
<p><fb:like></fb:like></p>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'your application id', status: true, cookie: true,
xfbml: true});
FB.Event.subscribe('edge.create', function(href, widget) {
// Do something, e.g. track the click on the "Like" button here
});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
<!-- eof Facebook Like Button -->
To add in any changes, change the first line to:
<fb:like send="true"></fb:like>
Any changes that are listed on the like button creation page can be added this way.
New Zenner
Duh... Thanks for spelling it out for me Delia
Zen Follower
Thanks for a fabulous mod!
The only issue I've run into is that I'm getting a lot of W3C validation errors with the fb code (their fault - not yours). After doing some research on the fb developers forum, I've found a way around these errors, but it's going to take a whole lot of rewriting to fix 'em. Would it be worth my time to rearrange the mod code to avoid the W3C validation errors? Or does it not matter?
Totally Zenned
kamelion0927:
Thanks for a fabulous mod!
The only issue I've run into is that I'm getting a lot of W3C validation errors with the fb code (their fault - not yours). After doing some research on the fb developers forum, I've found a way around these errors, but it's going to take a whole lot of rewriting to fix 'em. Would it be worth my time to rearrange the mod code to avoid the W3C validation errors? Or does it not matter?
I don't know that that's even possible to do. It is their problem but what I'm using is what they say must be used. If you want to play with it, go ahead, but if you stray from their code, what you do today may not work tomorrow.
Zen Follower
delia:
I don't know that that's even possible to do. It is their problem but what I'm using is what they say must be used. If you want to play with it, go ahead, but if you stray from their code, what you do today may not work tomorrow.
The code wouldn't change - the changes mentioned on the fb forum suggest moving the code around, creating a javascript file, blah, blah, blah. Pretty simple stuff, but if the errors aren't an issue with google or any of the other search engines, what's the point?
I mainly wanted to get your take on if the errors were going to cause problems with search engines or not (the answers elsewhere were mixed).
Totally Zenned
When I first did the mod, I did find there was a possible problem with search engines. I don't know if that has been corrected or not. There's a link to that info in the readme file. If you are just talking about non validating code - I doubt seriously that this can make any real difference.
New Zenner
Dear Delia, First of all thanks for the great contribution. I could find many posts with the request to fix this error META_TAG_FBTITLE, but I could not find a solution.
In my experience, the module works perfectly on product pages. The product title, image and URL are picked up from META TAGS. But, the problem is only when you click Facebook Like button on home page or other non product display pages. The <?php echo META_TAG_FBTITLE; ?> statement on html_header.php returns simply META_TAG_FBTITLE on non-product pages.
To fix this error, we need to edit the custom META TAGs on meta_tags.php to the following effect.
If META_TAG_FBTITLE is not defined it should return default META_TAG_TITLE. Same should be followed for URL and Image tags also. Image may be directed to company logo.gif and URL may be the current page URL.
Since, I am not a programmer, it is beyond me to write a code. But, if the community contributes to this effect, this error can be fixed once and for all.
When I googled with the search string META_TAG_FBTITLE I could see many Facebook sharing posts (obviously used by visitors of many websites) with irrelevant page title of "META_TAG_FBTITLE".
Regards
Gopinath Goswami
Totally Zenned
Yes, because this mod is only supposed to be installed on the product page.
Any other installation of the like button will result in that.
Totally Zenned
I was getting that too with the mod until I set the FB part of the coding to my own page NOT another one---I have my own and the forums has one too...so used my personal fb account number.
then when you click the link it will give the right title.
now if you go to fb and enter the link yourself then you will still get that coding but it can be edited, like most of fb can...by clicking on it and entering what you wish...along with the description.
New Zenner
META_TAG_FBTITLE issue is fixed. Please take a look at this contribution: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=2026
Regards
Totally Zenned
Thanks but until I see that Google+ is going to stick around then I will just stay with the primary mod in this listing.
Although I do like the twitter follow but I just go there with new items or sales info anyway.
Tell staff why this post should be reviewed.