Facebook button and the big problem

Premium, Furniture Joomla Design Shop Template with K2Store support
GK User
Sun Dec 29, 2013 7:37 pm
hi.

i'm using black&white template on joomla 2.5.17 and all works well except (as the subject of this topic) the facebook button.

if i control the html generated i've:

Code: Select all
<div id="gkSocialAPI">
          <fb:like href="/"  layout="standard" show_faces="true" width="300" action="like" font="verdana" colorscheme="light"></fb:like>
....


any ideas?


the url of the site i'm working:

[url]
http://www.studiopazzini.com
[/url]


thanks!!! :-)

Peter.
User avatar
Senior Boarder

teitbite
Tue Dec 31, 2013 3:03 am
Hi

Indeed I see that there is a problem, but that's the first time I see something like this. It's almost like the loaded code is not from a facebook site at all. To be 100% You have a correct code please go to file /html/com_content/article/default.php and ina place with code You've mentioned already use a code generated by a facebook site instead: https://developers.facebook.com/docs/pl ... ke-button/
User avatar
Moderator

GK User
Tue Dec 31, 2013 10:59 am
hi Teitbite, thanks for your reply.

i've just controlled the file and the code seems to be ok.

in my opinion there's a problem with the current url created by opengraph (it isn' created into the head section)

by the way, i solved using an external plugin.
:-)



Peter.

ps. for those people who wants to know what plugin i've used, i'll post the link, but if it is not allowed, administrator's forum can delete it... :-)

http://extensions.joomla.org/extensions/social-web/social-share/social-multi-share/18072
User avatar
Senior Boarder

teitbite
Tue Dec 31, 2013 7:23 pm
Hi

Ok. In the mentioned file there is only a shorten version of the facebook code which would be replaced by parser, that's why I asked to put the code for facebook like button directly to this file what had to do the trick :)

Anyway a plugin is a nice solution as well, so I'm glad it's working.
User avatar
Moderator


cron