I am wondering if it is possible to have a secured page that belongs to a certain group redirect to a different 'Unauthorized page'. I have the main unauth page setup to include a web registration form. I would like to be able to redirect any users who try to access pages belonging to a different (non-public) group to a different page that would specifically say there is no access to any other registered users or anonymous viewers.
don't know if I can just add something like a '?err=43' to the link or not but that would be cool. or if anyone knows a way to accomplish something that would work for this situation.
thx,
Todd
I am wondering if it is possible to have a secured page that belongs to a certain group redirect to a different 'Unauthorized page'. I have the main unauth page setup to include a web registration form. I would like to be able to redirect any users who try to access pages belonging to a different (non-public) group to a different page that would specifically say there is no access to any other registered users or anonymous viewers.
don't know if I can just add something like a '?err=43' to the link or not but that would be cool. or if anyone knows a way to accomplish something that would work for this situation.
thx,
Todd
And the answer is.... Yes!
With plugins you'll be able to do this and a lot more!
Plugins will be available in the up coming release
Now that we have plugins. How would this be accomplished?
DropboxUploader -- Upload files to a Dropbox account.
DIG -- Dynamic Image Generator
gus -- Google URL Shortener
makeQR -- Uses google chart api to make QR codes.
MODxTweeter -- Update your twitter status on publish.
-
☆ A M B ☆
- 24,524 Posts
Create a plugin that redirects to the desired document using the OnPageUnauthorized event.
http://www.sottwell.com/how-plugins-work.html