No Redirection for Author?
| Project: | CCK Redirection |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Nice module! My only suggestion is, right now it redirects for EVERYONE (aside from the roles you can specify on the permissions page).
I've been trying to hack it so it doesn't redirect for the node's AUTHOR. So that if need be they can edit the record, say to change it to redirect it to somewhere else. Right now if the author doesn't have permissions, it redirects for them just like everyone else. Which is a beautiful, quick redirect...which means they can't stop the process to edit, unless they know to add "edit" onto the end of the URL. Which most casual users (at least MY users) won't know.
I'm sure eventually I'll be successful and stumble on a solution, but not being a php whiz means I'm doing the "hacking" fairly literally. So if someone wishes to share a more elegant solution before I manage to create some sort of ugly-but-functional Frankenstein code, this module would be just what I need....
Thanks again for a great mod!
Mojo

#1
One solution would be to add a Views page with all the users nodes of a particular type (ie the one with the redirections).
In the list/table, you could add a field with link to edit the node.
Maybe not the most elegant solution, but it'll allow your users to edit their redirection nodes without manually adding "/edit" to the url.