The Rules module does this, albeit in a much more complex manor.

Basically create a new rule that when new content is saved, and the content matches a certain type (or other condition, such as a CCK field), redirect the user to a custom page, display a message on the screen, send an e-mail, etc.

I wonder if there could be some sort of integration that your module handles the front-end UI and creates it as a triggered Rule. This method wouldn't be useful to someone that knows how to create rules, but I could give it to the admins at my site as a simpler way to manage those tasks.

Interesting module, though, I'm looking forward to trying it out.

Comments

steven jones’s picture

Just want to point out that another way to do this would be to use the awesome:

Page manager redirect that basically does any kind of redirection of a menu path that you could ever want, and does it much more efficiently than rules.