This my first request for help in the forums, I managed to almost finish building my website with the info already in here. So a big thanks goes out to all the people providing help and info in the forums, I wouldn't be able to get half as far as I am now if it wasn't for you guys!!

With this issue however I am really stuck. I'm using thickbox to provide a login overlay, but modules using JS to affect the login form (for instance: compact_forms) don't work when the login form is inside this overlay. On the normal login page (user/login) everything works well.

I figured that compact_forms.js wasn't loaded for the popup page, so I added a drupal_add_js for this script, resulting in a popup page (dark background) without the popup. The module itself 'appears' to be working since firebug show the correct divs around the fields created by the module.

The problem is not related to compact_forms, it works well on the normal login, and I also encountered the same problem with different modules using JS for the login form. I also switched to lightbox to see what effect this would have, but sadly the results were the same. It looks like a general issue using JS in an overlay, but I'm not sure.

Any help or push in the right direction will be greatly appreciated!

Thanks in advance.

Comments

rambo2000’s picture

Right now i managed to get the popup to appear WITH the compact_forms.js loaded. But still the compact forms module isnt't working. I see the normal login form, with labels above the fields, and not inside the fields like compact forms should be doing..

rambo2000’s picture

subtle kick :)