Edition of a content from the user's interfaz

Author Message

Rafael Andres Gonzalez Lopez

Friday 26 August 2005 7:25:26 am

Regards to all...

I have a doubt am trying to edit a certain content before loaded in the CMS...

First place a button of load of new contents (it is the content that is), I did it with this code:

<form method="post" action={"content/action/"|ezurl} name="frmNoticias">
<input class="button" type="submit" name="NewButton" value="Cargar Imagen" />
<input type="hidden" name="ClassID" value="5" />
<input type="hidden" name="NodeID" value="{$node.node_id}" />
</form>

Now I am trying to place a button that allows me to edit the above mentioned loaded content using the insole(staff) standard of the cms. I suppose that the form to do this is similar to the previous one, nevertheless I have certain doubts that I must place secret fields.

Thank you in advance for any help... Regards...

Xavier Dutoit

Friday 26 August 2005 9:49:58 am

What are you trying to do ?

If you want to create an object with pre-filed content, have a look at the 0bjectCreator extension on the contrib area.

X+

http://www.sydesy.com

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

Main resources:

Total runtime0.7504 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.4766152.6406
Module start 'layout' 0.00510.0031 742.117239.4766
Module start 'content' 0.00820.7406 781.5938520.5703
Module end 'content' 0.74880.0015 1,302.16418.2813
Script end 0.7503  1,310.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4117160.0002
Check MTime0.00130.1776160.0001
Mysql Total
Database connection0.00090.123210.0009
Mysqli_queries0.709594.5583540.0131
Looping result0.00050.0689520.0000
Template Total0.717195.620.3585
Template load0.00200.265320.0010
Template processing0.715195.296920.3575
Template load and register function0.00010.017610.0001
states
state_id_array0.00530.708810.0053
state_identifier_array0.00090.126320.0005
Override
Cache load0.00160.2149140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.082120.0003
Fetch class attribute name0.00130.168130.0004
XML
Image XML parsing0.00050.071420.0003
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00080.1099160.0001
String conversion0.00000.001240.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs