When menu item "Login" is clicked, I want to display login form as a popup - what is the best way to do this?

I have looked into the following but with little luck (let me know if the answer is below and I am missing it) modules I tried: Overlay paths, popup, ajax login/register, ... code i tried: Tried using: hook_admin_paths_alter

Any help will be great - Looking for a clean pop up option that I can theme too!

Comments

John_B’s picture

As so often, there are answers in Google
http://drupal.org/project/modal_forms
http://drupal.org/project/user_modal
http://springfielddrupal.com/springfield/node/17
I did try these on one project, but cannot add useful information, beyond doing the Googling for you.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

suyyyash’s picture

Hi John_B,

Thanks a lot for a module suggestion with there links. It helps me a lot.

Thanks a lot again !

Road Runner’s picture

Also color box has a version of this I think

Ameer Khan’s picture

For drupal 8 users, Check this module https://www.drupal.org/project/simple_popup_blocks.

Description: Turn any blocks, forms or anything with CSS selectors into popup.