Redirect after creating object?

Author Message

Jorge estévez

Thursday 19 February 2009 2:08:35 pm

Hello,

Once a user creates an object within the "Public site" (not the admin) he is redirected to the root of the site (...content/view/full/2 or as defined in the admin).

What I would like to do is to redirect back to the page he has submitted the request to create the new object (something equal to history.back() in javascript) so he can continue creating new objects.

How is this done?

Thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

SEBBANE Alexandre

Thursday 19 February 2009 3:00:05 pm

Hello,

the normal redirect is the page where you were, or the parent.

do you open two browser (one on admin and one on front site) ? because i discovered this week that if you change of webpage in one browser , the redirect goes to this page ...
it 's not a bug but it's normal.

i hope i am not out of subject

Paris, France

Xavier Gouley

Friday 20 February 2009 2:18:18 am

Hello Jorge,

I propose you to look on a post on my blog (wascou.org) : I studied this feature in the near past, for Ajax problems, on eZ 4.0, but the main mechanism is the same.

Hope this post will help you.

http://wascou.org/wascou/Blogs/Xavier-GOULEY/How-to-avoid-redirection-to-AJAX-modules-after-editing-a-content-in-eZpublish

Good luck,
Xavier Gouley

Xavier Gouley
http://www.gxapplications.com/eng_blog/GX-Admin-s-Blog/

David Franklin

Wednesday 17 June 2009 9:06:30 pm

Thanks for the post Xavier, most helpful.

<a href="http://makemoneyhomecourse.com/">make money from home</a>

Xavier Gouley

Thursday 31 December 2009 1:44:33 am

My blog is gone to another URL. Now you can find the same post at the following URL:

http://www.gxapplications.com/eng_blog/GX-Admin-s-Blog/How-to-avoid-redirection-to-AJAX-modules-after-editing-a-content-in-eZpublish

Xavier Gouley
http://www.gxapplications.com/eng_blog/GX-Admin-s-Blog/

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