Hi all. I'm make my themes and I have a button for login/logout page: when the user click onto button he is redirect to "?q=user/login" (or logout) page.
I need to know if exist a way to redirect a user to homepage when the login is succefully and not to remain in "?q=user/user/ID_USER" page.
tnx.
On Jan 30, 2006, at 6:36 AM, michel ziobudda morelli wrote:
Hi all. I'm make my themes and I have a button for login/logout page: when the user click onto button he is redirect to "?q=user/login" (or logout) page.
I need to know if exist a way to redirect a user to homepage when the login is succefully and not to remain in "?q=user/user/ID_USER" page.
We have been working on a module called LoginTobbogan that overrides Drupal's login. It has a destination ability to determine where the user should go to after logging in.
You should see a 4.6 branch checked in shortly: http://cvs.drupal.org/ viewcvs/drupal/contributions/modules/logintoboggan/
There is a fork here: http://cvs.drupal.org/viewcvs/drupal/ contributions/modules/gojoingo/modules/logintobbogan/
There might also be a much simpler way to do this via the theme.
Cheers, Kieran
tnx.
-- Michel 'ZioBudda' Morelli michel@ziobudda.net http://www.ziobudda.net ICQ: 58351764 http://www.phpbook.it FAX: 0291390660 TEL: 3939890025 _______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes