-2

How to add light box effect to login, account creation, forget password and password reset forms?

3
  • Could you please show at least some effort yourself? It's bad form to try to use this site to get people to do your work for you; your current low-quality "do it for me" approach will always be met with negative responses. Instead of writing a single, high-level specification for someone to fill in for you, you need to write a proper question that describes the background of your situation, and, importantly, what you've tried yourself. Please see the help center if you need more details on what this site is about, and the quality we expect here. Thanks
    – Clive
    Commented Oct 29, 2013 at 10:16
  • Sorry Clive, I searched on google regarding this. But I didn't get result. That's why asked question directly. I will go through the help centre. Thanks for guide.
    – dhinesh
    Commented Oct 29, 2013 at 11:26
  • That might've sounded a bit harsh actually - not my intent at all, so sorry if that's the case. We're trying to build a repository of high quality Q+A here, so every question/answer comes under a certain amount of scrutiny. The quality/scope requirements may seem a bit pedantic at first, but it really does make for a better quality of overall site when that logic is applied over a good period of time. Thanks for your understanding
    – Clive
    Commented Oct 29, 2013 at 11:32

1 Answer 1

4

Go to admin/config/lightbox2 and then expand the Modal form settings and check the first option.

enter image description here

or you can try Ajax Login/Register module see the demo.

This module provides a smooth way for the user to login, register and request new password via AJAX at any Drupal site.

or you can try Popup module and don't forgot to read the documentation

enter image description here

The popup suite allows builders to popup tooltip-like text, nodes, blocks, menus, forms, views and php-generated content.

11
  • I used lightbox2 module as you pointed out with bartik theme and it is not working for me.
    – dhinesh
    Commented Oct 29, 2013 at 11:46
  • @dhinesh what happen when you click on the login link ?
    – Bala
    Commented Oct 29, 2013 at 11:49
  • @dhinesh it will work on clicking the login link, not on viewing the login page, when you are in example.com/user/login
    – Bala
    Commented Oct 29, 2013 at 11:51
  • @dhinesh make an anchor tag like this "<a href="/user">Login</a>" and check if it is open as popup, if not let me know.
    – Bala
    Commented Oct 29, 2013 at 11:53
  • Did you try 'drupal.org/project/modal_forms' module. It will not show the user login form with lightbox library but will display in modal window. Commented Oct 29, 2013 at 12:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.