I'm feeling dumb....I enabled the preference for providing a login in a thickbox....but it doesn't seem to be working. Should any link that is directed to /user (while you are logged out) open it up in a thickbox?

It is opening up images in a thickbox so I know the module is working.

Comments

TapSkill’s picture

I was having a similar problem. Thickbox wasn't being used for images, and it froze the browser on login/register links. To save myself any frustration, I simply removed the module, because it's clearly not stable enough yet. I think I'm using the latest version of jquery, and I've read this could be the cause of the problem, as Thickbox supports an older version?

frjo’s picture

Yes the 6.1.1 version has a problem with jQuery 1.3.1 and later, Drupal 6 however ships with jQuery 1.2.6. This has been fixed in 6-dev.

mdowsett, do you have a example page where you have this problem?

david1409’s picture

Hi,

I assume that this issue is still active despite nothing being updated for 4 months.

I'm using version 6.x-1.4 and have the same problem, I've set Thinkbox to automatically open for login requests but nothing happens.

Having looked at the Thinkbox pages here http://jquery.com/demo/thickbox and looking at the code I guess that Thinkbox is supposed to notice the user/login and add a class 'Thickbox' but it doesn't seem to work.

I tried this, a simple page with the following....

<a href=http://www.sitename.com/user/login>login</a>

I logged out and tried, it opened the standard login page, then I changed it to.....

<div id=thickbox><a href=http://www.sitename.com/user/login>login</a></div>

and this time it worked. I can only assume that either I'm missing something or the javascript isn't working as it should.

For infomation I have Drupal 6.13, jQuery Update 6.x-1.1 and a sightly modified version of the Earthen theme. The site is on a private server so I'm afraid it cannot be reached from the outside world.

Any thoughts what might be going on.

Cheers

Dave

frjo’s picture

Title: login thickbox » Login Thickbox
Version: 6.x-1.1 » 6.x-1.x-dev

On a local dev site I checked "Enable for login links" in Thickbox settings and added the following link to a post

<a href="/user/login">login</a>

It worked as it should, the login form pop ups in a Thickbox.

david1409’s picture

Hi,

Sorry about the delay replying, had to earn some money. Everything is OK now, haven't got a clue what was wrong, must have been calling something wrongly or it might be because I have changed themes, I'm using AdaptiveTheme instead of Earthern now.

Once again thanks.

Dave

frjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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