We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12878
    • 21 Posts
    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
      www.detroitunderground.net
      www.dtwaudi.com
      www.greymatterhosting.com
      new flash site in the works
      • 32963
      • 1,732 Posts
      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
        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 4385
        • 372 Posts
        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.
          • 28042 ☆ 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
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org