Greetings,

I've been searching for an ability to redirect after login (not registration) and have found this module http://drupal.org/node/69051
The idea is very simple - alter 'user_login' and 'user_login_block' forms and change their $form['#action'] attributes to necessary pathes. This module is slightly incompleted - you need to write your own logic inside module code instead of writing a php snippet somewhere on a settings page.

Don't you think that would be good to implement such thing in your module ? Logintoboggan is a big and great module and it is inconvenient to set up one more module just for this little feature.

Thanks.

Comments

hunmonk’s picture

i don't think so, no. i'd rather see this functionality expanded in the Login Destination module. i'm generally against the idea of cramming every single login feature into LoginToboggan--it's the surest way to make a mess of the code and make maintaining the module that much harder.

ardas’s picture

no prob.

hunmonk’s picture

Status: Active » Closed (won't fix)
cboshuizen’s picture

Do LoginToboggan and Login Destination work well together?

The module name, though cute, should be more accurately RegisterToboggan, as its primary function is handling registrations.

ardas’s picture

Yes. I'm successfully using both of them.

merilainen’s picture

Is there a way to make it work also with Thickbox? When Thickbox has been enabled to work with login form, then LoginToboggan uses it automatically. But the Login Destination doesn't seem to work when Thickbox is activated. Is there a way to get them work? Maybe this is a Thickbox issue.