Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am trying to use Colorbox for a custom login link - I do not have 'Enable for login links' checked. The behavior I'd like is to have the user login via Colorbox, & upon successful login be redirected to their user page. My example link is
<a href="/user/login?width=420&height=236&iframe=false" class="colorbox-load">Login</a>
I thought that 'iframe=false' would not make the following page load in the iframe but the User page is loading in the iframe. It does not seem to make a difference if iframe = false or true.
How can I get this to work, or can Colorbox not do this?
Comments
Comment #1
frjo CreditAttribution: frjo commentedSee https://drupal.org/node/883210
There is a patch there that improves the login function a lot. Please try it out and report in that issue.
If you absolutely don't want to use the "Enable for login links" function for some reason the manuall link should look something like this.
The "destination=user" decided where the users goes after submitting the form. You can add a path to any part of your site here.
Comment #2
Bricks and Clicks MarketingSince I want register links with the exact same behavior, I don't want to use the 'Enable for login links' function. This is not working for me at all - the iframe persists, so after registering or logging in, the /user page is loaded within the colorbox. Is this the correct behavior?
Comment #3
Bricks and Clicks MarketingI've fixed this using colorbox-inline, and it's working great - in every browser except IE7/8/9.