Forums / Setup & design / How to create a new object direct by a edit form

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?

eZ debug

Timing: Jan 18 2025 14:57:50
Script start
Timing: Jan 18 2025 14:57:50
Module start 'content'
Timing: Jan 18 2025 14:57:51
Module end 'content'
Timing: Jan 18 2025 14:57:51
Script end

Main resources:

Total runtime1.4010 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.8594180.8125
Module start 'content' 0.00661.2639 768.6719572.1094
Module end 'content' 1.27050.1305 1,340.7813332.7422
Script end 1.4010  1,673.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.2968210.0002
Check MTime0.00150.1075210.0001
Mysql Total
Database connection0.00080.055310.0008
Mysqli_queries1.329994.92551960.0068
Looping result0.00170.11781940.0000
Template Total1.363397.320.6817
Template load0.00200.144520.0010
Template processing1.361397.163320.6806
Template load and register function0.00010.008410.0001
states
state_id_array0.00130.090610.0013
state_identifier_array0.00240.170720.0012
Override
Cache load0.00160.1171190.0001
Sytem overhead
Fetch class attribute can translate value0.00130.093440.0003
Fetch class attribute name0.00090.061040.0002
XML
Image XML parsing0.00100.068840.0002
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00950.6799280.0003
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs