Facebook Like Button module
Please note: The button you see above the article ↑ is part of the new open graph plugin we are working on. The module demo is below. We will post about this soon!
In Facebook's bid to take over the world, they have introduced the Facebook Like Button. We decided that it might be useful to have a Joomla module that auto-generates the code for this button, so we set to work and in an hour we had assembled a first version that seems to run pretty well. We are assuming that the Like Button will change over time, so we are trying to keep our code as easy to change as possible. For a picture and some more information continue reading below.
The module allows you to output the button either in the iframe friendly format or as FBML if your site is using FBML. It also has a toggle switch to automatically discover the URL for each page it is on or you can just place a site wide one. Otherwise it should allow for all configurations available if you were to hard code it. Note: The module comes without implicit or explicit warranties and must be used at own risk.
Future improvements would be to use Open Graph meta tags but we have yet a good way to try and match specific ones to page content.
Here is an example of the button for this page with the language set to German, default is English (setting language only works in iframe mode):
**Lori points out some clarification on different button features:
"The basic Like button is available via a simple iframe you can drop into
your page easily. A fuller-featured Like button is available via the
** Playak points out the following bug in the Facebook publisher which may cause it not to read pages properly:
i found the problem i think. i noticed that the facebook publisher also has problems reading my pages, so i started narrowing down what caused that. it seems to be in the joomla menu. when it has span tags with just a space inside, facebook chokes on it.
to
Note the space in the spans
*** Jacob found a solution to the problem:***
in my templates/templatename/html/mod_mainmenu/default.php.
Line 33&35...removed the space. Also had to change the space in the span "l" and "r" in functions.php in the template root folder.
NOTE: removing the space did not work I had to put in ' '
$lspan = & $liFirstChild->addChild('span', array('class' => 'l'));
$lspan->setData(' ');
$rspan = & $liFirstChild->addChild('span', array('class' => 'r'));
$rspan->setData(' ');
Please check out his blog: http://www.jacobv.com/technology/page-could-not-be-found-error-with-facebook-like-button/ for more information and other goodies.
Please take a look here http://developers.facebook.com/docs/reference/javascript/ for more information on FBML
Comments
Thanks! Very useful module.
The problem is that it's not automatically discover the URL for the page, but the The site's primary address. Reply
we currently use JURI::current() to discover the URL. This may only be available in Joomla 1.5. If you are using 1.5, please send me a URL and I can take a look and replace it with a native PHP function. Thanks for your interest! Reply
You can see it here:
http://www.maccabi-yafo.com/index.php?option=com_content&view=article& id=2984:2009-09-11-15-41-57&catid=13:joomla&Itemid=100066
Thanks. Reply
I have updated the module to not use JURI::Current(); It seems like the optional parameters were not passed into the URL. I have replaced the Current() function with one that should read the additional parameters.
You can see that it works here as it echoes back the proper URL:
http://www.vergegraphics.com/urltest.php?option=com_content&view=artic le&id=2984:2009-09-11-15-41-57&catid=13:joomla&Itemid=100066\n\ ;nThanks
I will also put in a shameless plug to make your URLs SEO friendly :)
http://www.vergegraphics.com/blog/joomla/59-activating-seo-friendly-ur ls-in-joomla Reply
is there a version for jomla 1.0?
thanks Reply
we will wait!
however we test the module on a joomla 1.5 and world perfect! thanks again!
good job and really quick action! Reply
"Be the first of your friends to recommend this. · Admin Page · Error"
when i click the recommend button Reply
do have a link I could look at? I am thinking that it might have something to do with the url in Joomla. It seems to work with SEO urls but as soon as you pass in a Joomla native URL with all the ampersands and additional parameters I can see Facebook not liking it. Reply
which meens facebook is not possible to resolve the website Reply
kannst du mir vielleicht einen Link zu schicken wo das Modul zu sehen ist? Ich denke das es bei Facebook Probleme gibt wenn die URL mit mehreren Variablen gespickt ist, bzw. SEO freundliche URLs nicht aktiviert sind. Vielen Dank für dein Interesse an dem Modul! Reply
have you set autodiscover to on? It seems like the URL in your iframe points to:
http://sph.bu.edu/chrisinsider/Recent-News/s.htm
while your page is:
http://sph.bu.edu/chrisinsider/index.php/Recent-News/s.html
it seems you are missing the index.php in the url. Reply
I have updated the module to not use the native Joomla JURI::current() function to get the URL. Instead it uses a generic php function. I have updated the module, and if you would not mind trying it and reporting back, that would be greatly appreciated! Reply
Wouldn't this be more useful if it was a content plugin instead of a module and the user to be able to publish it below each article?
Thanks,
Igor. Reply
yes it would be very useful as a content plugin. However, we often find that we make pages totally composed of modules, like our frontpage and that it is easier to load modules into content via the loadposition plugin.
For a content plugin I would also prefer to leverage open graph meta tags automatically, so we will wait until those are completely defined and established. All that is to say that eventually we will probably produce a content plugin, but right now the best we could reliably do is a module, and a very simple one at that. Reply
Edditing and adding {loadmodule} in each of them doesn't sound like a nice solution. Reply
I agree, that would be pretty horrible. Given that we probably won't put out a plugin till the Open Graph specs are laid out better (lack of time and resources), I am hopping somebody else will publish a content plugin soon rather than later. If it does pop up, I will be more than happy to link it here. Reply
Reply
I am starting to think we might be one of the few studios that prefers joomla modules over plugins. I promise though that once I have some more time, I will put something out! Reply
awesome! Thanks for testing and your feedback! Reply
you would probably need this module in form of a plugin. You can work with individual pages using the loadposition plugin right now, but it would be a huge hassle. We also want to eventually make a plugin but we would in that case like to use the Open Graph meta tags, which seem to still be in flux.
I am sure somebody soon will write a similar plugin with the same scope as this module, and I will be happy to link it on this page, till we get around to making the one we want to see.
Reply
that is the one option, but I have also update the back end options to allow for the height to be set manually. Either way works great. Reply
"The page at http://www.ablegamers.com/index.php?option=com_content&Itemid=86&a mp;catid=37&id=951&lang=en&view=article could not be reached."
Reply
the URL seems to resolve alright for me. If Facebook is throwing that error it might because, according to your webpage, you are moving servers? Facebook might not have received the updated DNS yet. If you send me a link with a test page I can take a look though. Thanks for giving it a try! Reply
yea it seems that there is a problem with having the iframe run on sites with additional facebook features (connect, comment, share). I have not been able to pinpoint which one it is.
Facebook is essentially returning a valid url and saying it is not able to connect to it, which makes no sense. Reply
Could you add the possibility to choose to have the short version (only a number instead of xx people like that '" ???
thanks again Reply
if you switch the module layout style to button_count it should show the other button. Thanks for giving the module a spin!
Reply
? Reply
welcome back! In theory it should. Unfortunately this may be a something pertaining to facebook because all we can do is call their iframe. Whatever is in the iframe is up to them. I will look into if there is some sort of conflict happening.
Reply
if i switch to fbml it disappears (maybe this helps) Reply
I have some suggestions:
- include metatags for types/objects
- with jReviews+Geomaps together it would be a killerfeature
getimo Reply
If you send me a link I can take a look. I use a php function that reads the $_SERVER variable.
Maybe there is a problem with them not being read properly?
Also thank you very much for your suggestions, I agree that those things should be in a good plugin and when we do get around to it, I would love to add those in! Reply
I've found another issue: I'm using jomsocial too with facebook connect. If both buttons (the "old" facebook connect button and the like button) then there are several issues regarding the popup behaviour.
Noticing that I'm really confused on how the whole thing should work in the future? Of course I want to benefit from all resources of this new data model but don't know which system to use,
For the FBML type you need an application. I already setup an application for jomsocial/facebook connect and so on...
I'd love to read a documentation on how to act now generally. Reply
Interesting because it seems that most people who are having trouble have some sort of other facebook modules installed.
I too am a little frustrated on which way we are going with all this so I am trying to keep it simple now and have some of the better stuff come out when the dust has settled. Reply
Great plugin...unfortunately I am having the error "The page at XXXX could not be reached."
Did any of the others who had this issue resolve their problem? Max, I've included the website which shows the problem in the comment submission. Any of the articles will show your module implemented...and the error message on clicking the button
Thanks for any help on this. Reply
that is really strange. The code seems to be working alright. I actually think this an error on facebook end. I generated a code for your button using the facebook button generator found here:
http://developers.facebook.com/docs/reference/plugins/like
and posted the html it in a testbed page:
http://vergegraphics.com/demo
you will see it returns the same error. Interestingly enough Mark from a few comments above had the same bottom bar installed as you, with the same errors. The error is returned by facebook and the URL loads fine in my browser so it looks like facebook is unable to read the page properly for whatever reason. Reply
Thanks for looking into it...I suspected a facebook issue too. Maybe facebook will sort it out. All the best Reply
:( Reply
I am really sorry to hear that it is giving you so much trouble. If you really want to try and debug, try and use the code generated here:
http://developers.facebook.com/docs/reference/plugins/like
and stick it into a custom html module. Be sure to use the URL of a page that did not work previously. If it works then there is something wrong with the module, if it still doesn't work then it is something with facebook not playing nicely. My next step would be to set up an empty page, add the code, and then activate the modules one by one on the page, as to so see which ones are causing a conflict. Reply
I can confirm that the module does not seem to work with acesef on your webpage. I will look into why this is happening and hopefully I can come up with a fix for you. Reply
I'm also getting the same error though: error "The page at XXXX could not be reached."
tried auto-discovery on and off, fbml on/off, and disabled jfbc (facebook connect). nothing helps. driving me mad...
Reply
do you use some sort of SEF package or any other URL modifier? I am starting to wonder exactly what agent Facebook uses to contact the pages. I could even imagine that a strong robots.txt could block them if they use an unusual browser identifier string. Reply
Any ides where to start with trouble shooting? Reply
I am having trouble connecting to your website. Do you experience any downtimes? It might be that Facebooks servers are timing out, assuming that they have a a very short timout period.
Connecting to the website seems to be slow but not horrible:
http://just-ping.com/index.php?vh=http%3A%2F%2Fwww.dalinyebo.co.za&c=& s=ping!
it might be that the delay is causing them to not connect immediately and time out. I would try and use the button generator found here:
http://developers.facebook.com/docs/reference/plugins/like
and see if that works any better. Good luck! Reply
what you will need is a Joomla plugin. Hopefully we will be working on a plugin soon or later, but right now we are lacking the time to build the plugin we would like to have. Thanks for checking us out! Reply
Is there a way to utilize the sef URL generated by sh404sef when sending the data to the Facebook server? I suspect the over complicated none SEF url is just too much for Facebook to handle. Reply
yea it seems while the url being submitted:
http://www.arbev.co.il/index.php?option=com_content&Itemid=63&catid=25 &id=133&lang=he&view=article
is a legal one, Facebook does not seem to know what exactly is going on. I find it interesting that sh404sef seems to rewrite the URL after it has been parsed by the Server. I will try and see if I can include their url generation method in the module. Reply
A big box comes up and shows my facebook page, greyed out like, when logged in. When logged out of facebook, a facebook home screen appears, and when hovered over, it says something like to take me to facebook home..
Any suggestions??
soulmateplan.com Reply
I just took a look and it seems like the Wibiya tool bar has integrated the button correctly.
I am glad it is working! For all others interested:
http://www.wibiya.com/ Reply
* Warning! Failed to move file.
* JFolder::create: Could not create directory
* Unable to create destination
Reply
that looks like a permission problem to with the folders in the joomla directory. I have seen that happen when the folders do not have the correct permissions or the temp folder is not set up correctly:
http://kslim.net/blog/computing-2/internet/jfoldercreate-could-not-cre ate-directory Reply
usually when a module fails to install properly you have to remove the remnants manually.
From a google result:
One way is to delete any files and folders added by the extension. Depending on the extension, search through the "components", "modules" and "plugins" directories in your Joomla! tree and remove the associated entries. Repeat the process in the "administrator" directory. Afterwards, access the database using phpMyAdmin for example and remove entries relating to the extension.
Reply
that should do the trick, but please only remove mod_vergefacebooklike and be sure to have back ups
Reply
do you use any special access restrictions on your site? I am gathering more and more that Facebook has a problem with connecting to certain sites because the error it returns is:
Website Inaccessible
I would try and see if the button generator by facebook provides the same errors:
http://developers.facebook.com/docs/reference/plugins/like
Reply
Thanks a lot
Pamela Reply
you will need to use a plugin for that unless you want to create a module position inside your template that is visible on all pages / a certain category. For example the modules on the left hand of this post, "Categories" and "Most Popular" are visible on all pages of the blog category. Reply
I think it depends what the parameters are. I took as an example a page with standard un SEO Joomla URLS:
http://www.ihop.com/index.php?option=com_content&task=view&id=20&Itemi d=5
and I plugged it into a custom button here:
http://www.vergegraphics.com/demo
and it works without problems. If you send me a link I can take a look at what the problem might e and if any pf the query parameters are causing a conflict with facebook. Reply
e.g. on a test page, if i change
Map
to
Map
the problem is gone. (i hope the html tags show in this comment)
Reply
this is a great observation!!! If you send me the html code adjustments (max@vergegraphics.com) I will put a note in the blog and attribute it to you.
Reply
Reply
I have posted a snippet of code to the main blog post. Thank you for sharing your insight! Reply
you can edit the menu in the mod_mainmenu module. However, I would not recommend that unless you know what you are doing. The menu may just be one reason it is not working, others seem to include using certain SEF addons. Also not all Joomla menu types are affected else, the module would not work on this page for example. So first yu should look at your source code and see if any menus exhibit that problem before trying to fix it. Next if it is a problem I would turn off the menu point in the backend. Reply
Where would I change the code. I've tried looking in functions.php, header.php etc. How do I get rid of the space? Thanks for any help Reply
I think it might be something to do either with the way the template or the mod_mainmenu is configured in the module manager. Reply
David Reply
I have seen on websites that have buttons in different languages that the button is passing a &local variable as part of the URL. If you feel comfortable you can just edit the template file in the module to add it yourself. Otherwise I have noted it down for the next release!
Reply
I am pretty new to all this and my question is where do I look to find the spaces that need to be removed? Thanks in advance for your help. Reply
as I mentioned to Jacob, the space in the menu might only be one reason. Do you use a SEO modifier in your URLs, because that seems to be a number one reason why it fails on facebooks end. I am really hoping facebook will tackle these issues. Reply
in my website don't works perfectly.
If a person click on "I like" don't appears to others.
Look here for example:
http://www.dimensionepoker.com/principianti/primi-passi/siti-poker-onl ine-gratis-dove-giocare-senza-soldi.html
Two persons have clicked on "I like" but nobody appears...
Maybe is my Seo component, sf404sef, but I'm not sure...
Thank you. Reply
do you use any SEF extensions?
When I look at your code the URL it is sending to facebook is:
http://www.dimensionepoker.com/index.php?option=com_content&Itemid=112 &id=73〈=it&view=article
Facebook compares that URL to the current page URL and if they don't match, it won't show the number properly Reply
to include it in all content, you would need a plugin. If you want you can create a module position inside your template that is visible on all pages / a certain category. For example the modules on the left hand of this post, "Categories" and "Most Popular" are visible on all pages of the blog category. Reply
that is a really nice job integrating the button. It sounds like a css issue to me. If you could set it up on a demo page, with the clipping issue I can get some of our css gurus to take a look at. Reply
you have a great site, and it would be sad to use unclean URL, I will try and look to see exactly what Core SEF does to the URLs. Reply
I also do not have any other Facebook functions on my site. I do have a link to my FB page, but it is just a graphic with a hyperlink.
www.wvcbas.com is my site Reply
I can confirm that facebook is unable to reach your site. It seems you also have the space in the spans of your menu. I am not sure what in Joomla is causing this. Do you use a custom template designed by a 3rd party or did you build it yourself Reply
in my templates/templatename/html/mod_mainmenu/default.php.
Line 33&35...removed the space. Also had to change the space in the span "l" and "r" in functions.php in the template root folder.
NOTE: removing the space did not work I had to put in ' '
$lspan = & $liFirstChild->addChild('span', array('class' => 'l'));
$lspan->setData(' ');
$rspan = & $liFirstChild->addChild('span', array('class' => 'r'));
$rspan->setData(' ');
I know the code will be lost here. If its too much diversion for Mzx to put up I will put it up on my blog. Let me know Max. Hope it saves some other poor soul. Reply
awesome work! I will put your solution up top, if you do end up making a blog post, please let me know and I will add the link!
Reply
take a look at the blog post by jacob, hopefully it can help you:
http://www.jacobv.com/technology/page-could-not-be-found-error-with-fa cebook-like-button/ Reply
I put it up here
http://www.jacobv.com/technology/page-could-not-be-found-error-with-fa cebook-like-button/
has some more details that could help others. Thanks for being so proactive about this. Reply
I have added it to the above post. Thanks for all your time. Reply
yes, I'm using a SEF extention, sh404sef.
There is any solution?
Thank you again. Reply
I am not sure what the best solution is for url modifiers. Is it possible to use the native Joomla htaccess solution? Reply
thank you for your support. It is deeply appreciated! Reply
Can you explain please how to edit the template file if I want to translate the "like" word?
I didn't find any place with English words that I can change.
Thanks! Great module! Reply
take look at mod_vergefacebooklike.xml in the modules/mod_vergefacebooklike/
Starting on line 44 you can specify various verbs to be used. I am not sure if you can change them there or if you need to pass a "locale" variable as part of the iframe. To pass the additional parameter you will need to edit default.php in modules/mod_vergefacebooklike/tmpl/ Reply
I added your module onto my site. However, the font colour of the name is white, which renders it invisible. Is there any way to change that?
my site is http://vinyarb.com
Cheers Reply
please make sure your Color Scheme is set to light in the module options. This way fonts should be dark. If it is set to dark then the fonts will be white.
Reply
I have managed to fix the "Page could not be reached" issue as other solutions did not work for me.
Edit the code in default.php to reflect the following changes:
1)
function CurrentPageURL()
{
$pageURL = $_SERVER['HTTPS'] == 'on' ? 'https://www.yourdomain.com' : 'http://www.yourdomain.com';
$pageURL .= $_SERVER['PHP_SELF'];
return $pageURL;
}
2)replace
($params->get('autourl') == 'yes' ? $url = CurrentPageURL() : $url = $params->get('url'));
with
($params->get('autourl') == 'yes' ? $url = JURI::current() : $url = $params->get('url'));
worked like a charm on my site. Reply
I am happy it worked out. I used to use JURI::current() in the first version but it caused a problem with other sef modules. I am glad though that it works! Reply
Notice: Undefined index: HTTPS in PATHWAY/modules/mod_vergefacebooklike/tmpl/default.php on line 19
Are all the problems with this module or with Facebook? Reply
this means that the server Joomla is running on does not seem to provide the $_SERVER variable and thus an incomparability between the module and your server. To try and fix it you can open default.php, delete lines 19-22 and replace the following line:
($params->get('autourl') == 'yes' ? $url = CurrentPageURL() : $url = $params->get('url'));
with
($params->get('autourl') == 'yes' ? $url = JURI::current() : $url = $params->get('url')); Reply
Thanks very much for this module. Awesome work
i use it on
joomla site with no SEO option, no other facebook plugin = WORKS
(all urls of www.fidasleccese.it
i use it on
joomla site with SEO native option on, with facebook plugin Like Box = WORKS
(just one url to test
http://www.hotelkoine.it/it/lecce-otranto-ed-il-salento/gallipoli-la-c itta-bella )
so, thanks to share this module
Tommaso
from Italy
joomla site with SEO native option on = WORKS
Reply
Thank you for your feedback and support! It is deeply appreciated! Reply
it seems like the URL is not being discovered correctly. The page that is being sent to facebook is:
http://www.ssu.se/index.php
for every instance of the button on the site. Certain Joomla configurations seem to not be returning the URL correctly. Assuming that you are the same Kristofer from above and are using the JURI::Current() method. It might be that JURI::Current() is having the same problems as our CurrentPageURL() function in determining the URL. Are you using a windows server by any chance?
Reply
"Fatal error: Cannot redeclare currentpageurl() (previously declared in /home/goprojec/public_html/swedishgolfonline.com/modules/mod_vergeface booklike/tmpl/default.php:19) in /home/goprojec/public_html/swedishgolfonline.com/modules/mod_vergeface booklike/tmpl/default.php on line 22" Reply
the problem arises when you use two copies of the module on the same page or another component/module/plugin in Joomla is declaring the same function somewhere else. To change this, either only load the module once per page, or change the name of the name of the function in two places.
Change
function CurrentPageURL()
to
function CurrentPageURLFBLike()
and
($params->get('autourl') == 'yes' ? $url = CurrentPageURL() : $url = $params->get('url'));
to
($params->get('autourl') == 'yes' ? $url = CurrentPageURLFBLike() : $url = $params->get('url'));
in default.php inside the tmpl directory of the module directory in Joomla Reply
is it possible to place the link in each article? I have a Blog on my Joomla website and i want to able visitors to share an individual Blog post with their friends on facebook.
Im still a bit new tot Joomla so i don't have much technical knowledge.
thanks in advance! Reply
Reply
I am not sure what that tag does. I tried to research but a lot of people seem to be confused about what exact effect it has besides declaring the admin of the page. Please give it a try and if something comes around, please let me know. Reply
This is an excellent module, works great for me.. Just a suggestion: like others have said, if this was able to integrate with content, it would have been even more amazing. Really hope you consider this :)
Thanks for a really great module, keep it up! Reply
thanks for the kind words. Unfortunately we have not had the time to take a look at this yet more than just throwing something basic, and basically underwhelming, together. There is a lot of cool stuff we would like to do with the open graph protocol. I promise you that we will do it, just we don't know when. Reply
I still have some running projects build with joomla 1.0.x so that modul would be very cool Reply
This is an Great module, working well. But when i liked an article it posted only on my wall not my friends. What's Wrong? Reply
I think the intended functionality is only to post to your wall and that people would see that when they are looking at your profile. I don't think it is supposed to post to your activity wall, although I may be wrong. In any case this would be something that facebook has control over. Thanks for your support though! Reply
Notice: Undefined index: HTTPS in modules/mod_vergefacebooklike/tmpl/default.php on line 19
Any idea whats that about? Reply
it means that your installation of php is not providing the data array necessary to read out your url. I believe certain windows servers and very secure set ups will not provide this information.
http://www.php.net/manual/en/reserved.variables.server.php
You can try and use the JURI::Current() method instead by commenting out the whole CurrentPageURL() function and replacing
($params->get('autourl') == 'yes' ? $url = CurrentPageURL() : $url = $params->get('url'));
with
($params->get('autourl') == 'yes' ? $url = JURI::current() : $url = $params->get('url')); Reply
the module allows you to specify a css class suffix. ex. mooney101 would show a div with class = vergefacebooklikemooney101.
All you need to do is set the css to display however you want for the div. Reply
yes there is a problem with using the module multiple times on one page.
You can try and use the JURI::Current() method instead by commenting out the whole CurrentPageURL() function and replacing
($params->get('autourl') == 'yes' ? $url = CurrentPageURL() : $url = $params->get('url'));
with
($params->get('autourl') == 'yes' ? $url = JURI::current() : $url = $params->get('url'));
in default.php under the tmpl directory. The most common php error people are getting is that it redeclares CurrentPageURL multiple times.
Also the new plugin we are releasing soon will do away with the need for multiple modules. Reply
Otherwise i love the plugin. simple and effective. Reply
Otherwise. Great job with the module :)
Reply
that is a really good point. We run most of our software on servers we own or were built under our specifications, so I have never even though about differing server configurations. It's a really valid concern! Thank you very much for pointing that out. I will include this in the upcoming open graph componenent/plugin we are working on. Thanks for your support! Reply
very good module.
I use it on 3 sites
Thomas Reply
I could wish for a button Ilike this... can you make that?
Great work!
Reply
Your tips to solve the undefined index problem in line 19 really help me too...
Reagrds,
Pierre Reply
Does the like button on the joomla website page add the new articles for that page on that persons profile just like facebook? Reply
the like button adds an entry to your wall of your profile. People should then see those in their news feed as new items. At least that is how I think facebook used to do it. I hope it hasn't changed.
-Max Reply
thanks in advance we are waiting it, and congratulations for your work
salutations from barcelona (spain) Reply
I apologize for the delay. We have been so incredibly busy that we have not been able to get one past our quality assurance yet. We, however, have a summer intern who will hopefully be able to complete this project soon.
Thanks for your support.
Max Reply
My question is about position - i have reduced the gap below the button, but I think i need a small gap above it. On this page for example http://www.mymusictheory.com/j/grade1/lessons/18-foreign-terms.html it looks like the button is attached to the google adsense box. How can i add some padding to make a gap at the top? Reply
the like button is enclosed by a div with class "vergefacebooklike", which you can address in your CSS file with the following padding adjustments:
div.vergefacebooklike {padding-top: 5px;}
Just add the above line into your CSS file in your template and you should be good. Reply
Love the module for it's simplicity. But I've run into a glitch, when clicking on the button a pop up window loads and then goes back to the original page and then reloads the pop up again continuously. Any idea what could be causing this?
Thank you!
-Nancy Reply
I have never heard of that before. If you would like you can send me an email max(a.t)vergegraphics.com with the URL in it and I can take a look. Reply
I have the meta tags dynamically generated using setMetaData Reply
We have been working with OG specs for a while. If you look in our page source they are defined for most pages. It is really interesting that they seemed to have caused the problem. Our initial assessment was that is was a problem with the Facebook parser. Do you have the span spaces on your site template? They seem to have fixed all such problems as far as we know.
Reply
Reply
most likely your server does not support the php $SERVEr variable. This is ok. If you would like to remove the error message, as it is only a notice and not that important, please add:
error_reporting = E_ALL & ~E_NOTICE
to the top of this file:
/modules/mod_vergeface booklike/tmpl/default.php Reply