[support] Send Users to Page after Register

Fred Jones fredthejonester at gmail.com
Sun Feb 17 15:12:35 UTC 2008


Metzler, David wrote:
> You might consider writing a little module that uses hook_user in
> conjunction with drupal_goto to redirect users to a different page: 
> 
> See http://api.drupal.org/api/function/hook_user/5 for more info on the
> hooks.  
> 
> You'd probably have to keep track of it somehow with state, cause you
> really need to watch for $op='register' and then do the redirect at
> $op='after_uptdate'.

This worked. I actually tried this initially, but I had named my 
function wrong so it was never executed. Now it's correct and it works 
fine. :)

Thanks!


More information about the support mailing list