How to create a new object direct by a edit form

Author Message

Daniel Guedes

Friday 01 October 2004 2:02:19 pm

Hi,

I would like to create a object without the necessity to request the function 'NewButton' of the module/view 'content/action' before opening the form page. I just like to open a page with the form that the user decide if send or not the data for the new object.

I tried to look inside of content module (action and edit views) but I am still without a answer.

I was clear?
Sorry for my english.

Thanks in advance,
Daniel

Paul Borgermans

Friday 01 October 2004 2:22:24 pm

You can't :-(

This is what I referred to as one step publishing/editing. You can get do it more or less if you tolerate lots of drafts (which can expire after a certain amount of time)

Related to this is one-step multi-object editing/publishing. Suppose you want to use eZ publish for a CRM type application, and quickly need to assign say 7 incoming requests to a collegue: now you need to edit each one of them seperately, which is not what we want.

-paul

PS: We'll sponsor such development for post 3.5 releases (1st or 2nd Q of 2005)

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

hannes petursson

Tuesday 28 June 2005 3:50:22 pm

Has there been done any work on the issue?

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 18 2025 18:35:52
Script start
Timing: Jan 18 2025 18:35:52
Module start 'layout'
Timing: Jan 18 2025 18:35:52
Module start 'content'
Timing: Jan 18 2025 18:35:53
Module end 'content'
Timing: Jan 18 2025 18:35:53
Script end

Main resources:

Total runtime0.9031 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0102 588.0625152.6406
Module start 'layout' 0.01020.0039 740.703139.4766
Module start 'content' 0.01410.8874 780.1797567.0156
Module end 'content' 0.90140.0016 1,347.19538.1250
Script end 0.9031  1,355.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4229160.0002
Check MTime0.00150.1707160.0001
Mysql Total
Database connection0.00280.307010.0028
Mysqli_queries0.846893.7600590.0144
Looping result0.00110.1215570.0000
Template Total0.863695.620.4318
Template load0.00220.241820.0011
Template processing0.861495.381420.4307
Template load and register function0.00020.024110.0002
states
state_id_array0.00100.115710.0010
state_identifier_array0.00080.093120.0004
Override
Cache load0.00180.2005190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.081630.0002
Fetch class attribute name0.00110.116440.0003
XML
Image XML parsing0.00070.081430.0002
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00230.2506170.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs