× Joomla Facebook Connect support forum

Topic-icon Facebook Login in a Popup?

Active Subscriptions:

None
14 years 11 months ago #11350 by fb_623501319
Hi,

How would I put the facebook login into a popup like on this site?

www.buy.com/prod/leadership-and-crisis/q...c/106/217000789.html

Thanks
The topic has been locked.
Support Specialist
14 years 11 months ago #11351 by alzander
Replied by alzander on topic Facebook Login in a Popup?
I actually don't see how to get a pop-up Login button on that page, but, generally, to do put it in a pop-up in Joomla, you need to find an extension that's meant to pop-up a Joomla module. RocketTheme's RokBox is something that's been used a bit for this purpose, and doesn't require a RocketTheme template to work.

Once installed, you can use it to pop-up the JFBCLogin module. You will need to make a minor change to JFBCLogin to work in pop-ups though, which you can read more about at the link below. Look at the 2nd and 3rd questions about custom images for the login button and working in a Javascript pop-up:
www.sourcecoast.com/jfbconnect/docs/common-support-questions

Hope that helps, but if not, let us know!
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12547 by rdbean
Replied by rdbean on topic Facebook Login in a Popup?
Hey Alex,

I've read the support FAQ's but not getting it I guess. In order to get JFBCLog In to work in a RokBox popup what do I need to modify?

Inside mod_jfbclogin/tmpl/default.php ???

Cheers,

Rich
The topic has been locked.
Support Specialist
14 years 9 months ago #12554 by alzander
Replied by alzander on topic Facebook Login in a Popup?
Yeah, in that file, find the lines below:
$buttonSize = $params->get('loginButtonSize');
    echo $fbClient->getLoginButton($buttonSize); ?>

And replace with the lines in the Common Support Question for working in a popup.

You'll need to start your code off with a ?> to close the PHP block that the above code was originally in. When done, your code will look like:
?>
<input type="button" onclick="jfbc.login.login_custom();" value="Login With Facebook" />

It's getting higher on our list to overhaul the template file for the Login module as it's pretty ugly right now. Sorry about that.

Let us know if you need anything else or run into issues.
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12581 by rdbean
Replied by rdbean on topic Facebook Login in a Popup?
Thanks Alex, I'll mess with this in the morning. Is 7:40 on a friday night. Shouldn't mess with code after beer and wine!

R
The topic has been locked.