We're catching the login form in lightbox2, so that it appears in a pop-up window. With Facebook connect, the text for the link "Sign in using Facebook" appears in the login form, but it's not a clickable link. just text.
going to user/login, however, we get the facebook connect button and everything functions as expected.
any ideas?
Comments
Comment #1
mariano.barcia commentedsubscribing. This works for me:
Comment #2
mariano.barcia commentedHmm, sorry, it shows the link but the onClick event is not working...
Comment #3
friolator commentedHas anyone been able to get this working?
Comment #4
itaine commentedI second this. Has anyone found a work around?
Comment #5
friolator commentedwe are able to get the button to appear using the code above, but like mariano.barcia, it's unclickable.
I know almost nothing about javascript, though I'm proficient in PHP. I really don't know how or where to go about trying to debug this. any help would be most appreciated. As it is, we're forced to ditch lightbox for login, at least until this works.
thanks!
Comment #6
friolator commentedI think we got this working today. Still testing, but it seems that the problem is easily solved by adding the $closure theme variable at the end of page-node-lightbox2.tpl.php
Once we did this, the button started responding. I am assuming mariano.barcia's notes above still apply since we haven't removed that tweak and the button is now doing something from the lightbox login window.
Comment #7
mariano.barcia commentedGreat! Looking forward to the final fix.
Comment #8
obiwankaynobi commentedsubscribing :)
Comment #9
Garry Egan commentedWe're dying here over this one. Anyone got an idea on how to fix lightbox login with the facebook connect module? It's got a show stopper bug in it.
Comment #10
vectoroc commentedI think that lightbox2 does not call Drupal.attachBehaviors
So you could call it manually or call FB.XFBML.parse() or see http://drupal.org/node/365584#comment-3539890
Comment #11
jtsnow commentedvectoroc is correct. The following code is a quick fix. You can also override the function in your theme if you don't want to patch fbconnect.module.
Comment #12
webfunkin commentedThis seems to work pretty well. Thanks. Will let you know if I come across any errors
Comment #13
lildragon commentedthanks @jtsnow, the quick fix works!!! been searching for days.