Old style Action "Redirect to url" (sub)module (5.x-1.x)
| Project: | Actions |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
The following action_redirect.module has been:
* Made by: http://drupal.org/user/148264 on 18-03-2008
* Thanks to: http://drupal.org/node/48737 Module snippets- Actions
* and to: http://drupal.org/node/88643 Redirect to a page (drupal 4.7 but seems to work with 5.x)
Note: This is NOT a real module, just a snippet which has to be implemented this way.
Requirement: the action.module
Example of use: redirect a user to home page url (or whatever else) after he/she logged into your site.
Installing:
- Download the following action_redirect.zip_.txt file
- Deleted the _.txt extension
- Extract the zip archive and put the action_redirect module folder into your module folder.
- No need to enable it. Go to your admin/settings/actions page. Your new action should appear there.
- Go to your admin/build/trigger/ page action.module version 2.0 or 2.x) and set up the trigger you want your actions to be assigned to.
- You're done.
Reviews and updates welcome.
| Attachment | Size |
|---|---|
| action_redirect.zip_.txt | 1.79 KB |

#1
The "Redirect to URL" action is already available as a built-in advanced action in 5.x-2.0.
The attachment above is an old-style action so I am changing the version number of this issue to 5.x-1.x-dev. And marking it closed since 5.x-1.x is not being further developed.
#2
Confirmed. Replaced old action by the new one. It's working. Thanks!
There shouldn't be any good reason to use this sub-module anymore. Changing title for precision.
Best regards,
Arsène