Action to edit content

Author Message

David Santiso

Monday 28 February 2011 11:44:05 am

Hi,

To create objects from front page I put a form with a submit button:

<form method="post" action={"content/action"|ezurl}>
 <input type="hidden" name="ClassIdentifier" value="comment" />
 <input type="hidden" name="NodeID" value="{$node.object.main_node.node_id}" />
 <input type="hidden" name="ContentLanguageCode" value="{ezini( 'RegionalSettings', 'ContentObjectLocale', 'site.ini')}" />
 <input class="new_comment button" type="submit" name="NewButton" value="{'New comment'|i18n( 'design/ezwebin/full/article' )}" />
 </form>

But If I want edit a object, what action have I to use?

Thanks,

David

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 15:12:13
Script start
Timing: Jan 18 2025 15:12:13
Module start 'layout'
Timing: Jan 18 2025 15:12:13
Module start 'content'
Timing: Jan 18 2025 15:12:15
Module end 'content'
Timing: Jan 18 2025 15:12:15
Script end

Main resources:

Total runtime1.0874 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0234152.6250
Module start 'layout' 0.00530.0029 741.648439.4375
Module start 'content' 0.00821.0777 781.0859400.4922
Module end 'content' 1.08590.0015 1,181.57818.1875
Script end 1.0874  1,189.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2860160.0002
Check MTime0.00130.1235160.0001
Mysql Total
Database connection0.00060.052010.0006
Mysqli_queries1.052096.7369460.0229
Looping result0.00040.0370440.0000
Template Total1.057197.220.5286
Template load0.00220.198120.0011
Template processing1.055097.013220.5275
Template load and register function0.00010.012110.0001
states
state_id_array0.00070.067210.0007
state_identifier_array0.00140.127420.0007
Override
Cache load0.00180.161790.0002
Sytem overhead
Fetch class attribute can translate value0.00080.071010.0008
Fetch class attribute name0.00060.051710.0006
XML
Image XML parsing0.00010.009910.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00190.1753100.0002
String conversion0.00000.000940.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs