Greetings,

Is there any whay to gracefully implemented redirect after login ? Patching user.module is not a good solution.

I need to specify either my own page or user's workspace (despite whether user login through block or login page).

Is there any way to do it or any module for that ?

Comments

somes’s picture

have you tried drupal_goto()

vm’s picture

the loggintoboggan.module can help.

ardas’s picture

I didn't find an ability to specify redirection URL in this module settings. May be I'm missing something... There is only a redirection after registration, but this is not what I need.
----------------
Regards,
Dmitry Kresin, ARDAS group (www.ardas.dp.ua)

ardas’s picture

Is it possible to configure drupal_goto() to perform redirection after login ? I don't know how to do it because there is no constant URL from which it can be redirected or I misunderstood something ......
----------------
Regards,
Dmitry Kresin, ARDAS group (www.ardas.dp.ua)

ardas’s picture

Thanks for this ! Looks like this is exactly what I need.

Strange that logintoboggan module did not implement such simple thing :)
----------------
Regards,
Dmitry Kresin, ARDAS group (www.ardas.dp.ua)