User Change password Redirect

Author Message

Tom W

Wednesday 13 October 2010 8:54:35 am

It seems the change password form(user/password/[user_id]) does not make use of RedirectIfDiscarded and RedirectURIAfterPublish. Does anyone know of a good non-javascript work around to redirect the user to a specific page upon cancel or submit new password?

Heath

Wednesday 13 October 2010 6:40:57 pm

Hello Tom,

You could simply create a copy of that module view into an extension, custom the module view to meet your custom redirection needs and use the custom module view in place of the default.

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Tom W

Thursday 14 October 2010 9:02:09 am

Thank you Heath.

Though it didn't help much, it did got me to look into the kernel. (kernel/user/password.php)

To set a "redirect on cancel" for the user password update page, use hidden value "RedirectOnCancel".

As for a redirect on successful update...that's just a crazy client request, it makes more sense to stay on the same page so the user see the confirmation message for their submission.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.