Login Thickbox

mdowsett - February 6, 2009 - 19:48
Project:Thickbox
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

GetLives - April 30, 2009 - 20:19

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?

#2

frjo - May 1, 2009 - 07:03

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?

#3

david1409 - August 19, 2009 - 09:00

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

#4

frjo - August 20, 2009 - 05:04
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.

#5

david1409 - September 9, 2009 - 17:52

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

#6

frjo - September 10, 2009 - 07:35
Status:active» fixed

#7

System Message - September 24, 2009 - 07:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.