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

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

eZ debug

Timing: Jan 31 2025 04:27:53
Script start
Timing: Jan 31 2025 04:27:53
Module start 'layout'
Timing: Jan 31 2025 04:27:53
Module start 'content'
Timing: Jan 31 2025 04:27:53
Module end 'content'
Timing: Jan 31 2025 04:27:53
Script end

Main resources:

Total runtime0.0139 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2656151.2266
Module start 'layout' 0.00490.0019 739.492236.6797
Module start 'content' 0.00680.0056 776.171990.3125
Module end 'content' 0.01230.0015 866.484429.9922
Script end 0.0139  896.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002518.0527140.0002
Check MTime0.00117.5988140.0001
Mysql Total
Database connection0.00074.817510.0007
Mysqli_queries0.001611.391330.0005
Looping result0.00000.072110.0000
Template Total0.00118.110.0011
Template load0.00096.494910.0009
Template processing0.00021.526310.0002
Override
Cache load0.00074.802010.0007
General
dbfile0.00139.578380.0002
String conversion0.00000.048140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs