I've installed the lightbox2 module and enabled the modal form setting 'Enable login support'. However, if I logout and want to login, it's still the same as before.

To give my site some personal carters I would like to have the login/ logout/ profile/ messages buttons horizontal at the top of the page. When you click the login button, lightbox2 should show the username and password box.

I don't want to display the 'navigation', but if I remove it from blocks, the login box is also gone and when I remove it from the menu, it still is showing.

To give you an idea for my wishes have a look at Taylor Swift her website.
Many thanks!

Comments

jaap76’s picture

Nobody?

jaap76’s picture

It seems to be working on hyper links, but how to make this work on a button, and how to include the log out button (after login) ?

alexmoreno’s picture

same question, don't know how to make a login/register popup... maybe creating a link manually? Nobody please?

jaap76’s picture

If you go to Site configuration/ Lightbox2 you see 'Modal form settings'. Click 'Enable login support'.
Than if you go to Site building/ Menu/ Primary links, you can create a button named 'Login' and link the path to user.
Logout and click on the Login button. The pop up box should show up.

In my case.. I'm looking for 4 images (glossy button images) (1) Login (2) Register (3) (after login) Logout (4) (after login) Profile, but I don't want these in the menu (home, contact ect.). I want these at the right top side of the page. Just adding the link user to an image in sites/default/files folder isn't working. It guides me to the standard login page, not to the lightbox.

So, the module is working, I'm just looking for some help to my custom buttons.

One more thing. If I click the 'x' image, the lightbox doesn't close. Sometimes I have to click 5, 6 times outside the box to close it, after I clicked the 'x' image. Is it a bug in the code?

edit1: This 'x' button is only not working on the login, it works on the photo gallery.