Hi there, i would like to add a (Sign in with facebook) button on the guest page of jomsocial. Now i've been to to the documentation on your site and you say to add this code:
require_once (JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php');
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
echo $jfbcLibrary->getLoginButton();
but when i add the code to my frontpage.guest.php it just turns up on the front end of the site in text. What am i doing wrong?
Here is my site address
my site
Many thanks Neil