Posted by kenorb on October 22, 2008 at 3:20pm
Jump to:
| Project: | Custom (Form) destination |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
module redirection doesn't work when using content_profile.
I've set two redirections for user_register form and mycontent_node_form, any of them doesn't work and I don't know why.
Comments
#1
Ok, I found some other method to redirect user after account has been created.
Something like follow:
case 'user_register':$form['destination']['#value'] = 'some/page';
break;
It's possible to implement this way as well to the module, if I'll add form user_register, it will redirect?
In my opinion it's working in different way.
#2
Thanks for your report. My dev machine is currently undergoing some technical mantainance. I'll be back on testing/discussing the issue in a week or so.
Francesco
#3
Kenorb,
are you still experiencing this problem?
Could you please list more details about how to reproduce this bug? Please mention the affected modules and the steps you followed to encounter the bug.
Talk soon,
Francesco
#4
Not really, because I've made my own patch.
Maybe somebody else will have similar problem.
#5
Can't you even try to restate the problem or share your patch? Someone else could benefit from your contribution.
Have fun,
Francesco
#6
I did custom redirection as explained in #1: $form['destination']['#value'] = 'my/page' in hook_alter in my custom module (I don't know why, but it's only working for logged users).
And for other redirections I've changed to http://drupal.org/project/path_redirect module.
#7