Hi,
LightBox2 is an extremely good invention and a very good interface too.

Although i am trying to do something that i am not abl to figure out how..

I want the User Login Form to appear in a lightframe and autoclose after sucsessfull login..

I could open the form in lightframe..however it does not close after login...

I did this in page.tpl.php :

print $base_url.'/user/login/lightbox';">sign in

Also to close the lightbox i tried using:

if (Lightbox.isLightframe) {Lightbox.end('forceClose'); }

Please help me solve the problem.

Regards,
Himanshu

Comments

iam_himanshu’s picture

iam_himanshu’s picture

<a rel="lightshow[|width:425px; height:300px; scrolling: none; padding:0px;]" href="<?php print $base_url.'/user/login/lightbox';?>">sign in</a>
stella’s picture

Priority: Critical » Normal
Status: Needs work » Fixed

use 'lightmodal', or why not just enable the login feature at admin/settings/lightbox2?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

R2-D8’s picture

I don't get it working.

Neither with an manual created link as described above;
nor with the lightbox2-settings.

It's maybe theme related?
And before I try further could you tell my: Would it be possible using ssl-secured links?