Forums / Developer / creating object at a different parent-node

creating object at a different parent-node

Author Message

Peter Meyer-Delius

Monday 23 July 2007 12:24:48 pm

I am buliding an application-site where you have to fill out an application-form where you have to attach documents.
Thats why I can't send it as an email, so I created a new Class "Application". I don't want this application to be stored as a child of the node where the user can click the apply-button but of a node in the internal-area where administrators can manage the applications.
I can change it by changing the "NodeID" accordingly.
But after creating it eZ publish automaticly redirect to this node.

How can I change this?

Best regards,

Peter

Nabil Alimi

Monday 23 July 2007 12:37:44 pm

Hi Peter,

You can use the RedirectURIAfterPublish parameter to achieve this.

<input type="hidden" name="RedirectURIAfterPublish" value="/anyurl" />

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr