eZ Community » Forums » Developer » Problem with canceling user profile edit
expandshrink

Problem with canceling user profile edit

Problem with canceling user profile edit

Friday 05 May 2006 10:04:17 pm - 2 replies

I have a problem with canceling user profile editing.

If I click on Cancel button after editing, a wrong page loading: /users/guest_accounts/user_name.

It has to go back to the profile page, or the page where the user edit the profile before.

I use eZp 3.6.7.

Whats wrong? Any idea?

Regards,
Viktor

Modified on Monday 08 May 2006 10:31:39 am by Viktor Juhász

Monday 15 May 2006 8:46:27 am

Hi,

You can use one of this 2 hidden variables to control redirection:

<input type="hidden" name="CancelURI" value="/path/somewhere" />
<input type="hidden" name="RedirectURIAfterPublish" value="/path/somewhere" />
<input type="hidden" name="RedirectIfDiscarded" value="/path/somewhere" />

Modified on Monday 15 May 2006 8:52:04 am by Łukasz Serwatka

Tuesday 04 October 2016 12:38:52 pm

Quote from Łukasz Serwatka :

Hi,

You can use one of this 2 hidden variables to control redirection:

<input type="hidden" name="CancelURI" value="/path/somewhere" />
<input type="hidden" name="RedirectURIAfterPublish" value="/path/somewhere" />
<input type="hidden" name="RedirectIfDiscarded" value="/path/somewhere" />
expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from