Forums / Developer / Problem with canceling user profile edit

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Problem with canceling user profile edit

Author Message

Viktor Juhász

Friday 05 May 2006 1:04:17 pm

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

Łukasz Serwatka

Sunday 14 May 2006 11:46:27 pm

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" />

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog