Changing values in nodes using a template

Author Message

Trond Åge Kvalø

Friday 13 February 2004 12:12:59 am

Hi!
We have an external form that posts values to an ez page.
We would like to change values in a node based on the
values from the form. The node is an instance of a class
made in the admin interface using standard eZ data types.

Can this be done? We know how to get the values from the
form, and display them using the template operator ezhttp,
but not how to store them in the node.

Can anyone please help?

trondåge

trondåge

Eirik Alfstad Johansen

Friday 13 February 2004 2:04:53 am

Hi Trond,

Check out this thread which discusses how to import data into existing content objects:

http://www.ez.no/community/forum/developer/importing_update_entry_if_it_already_exists

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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:23:26
Script start
Timing: Jan 31 2025 04:23:26
Module start 'layout'
Timing: Jan 31 2025 04:23:26
Module start 'content'
Timing: Jan 31 2025 04:23:26
Module end 'content'
Timing: Jan 31 2025 04:23:26
Script end

Main resources:

Total runtime0.0146 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.0046 588.2656151.2266
Module start 'layout' 0.00460.0025 739.492236.6797
Module start 'content' 0.00700.0060 776.171990.1875
Module end 'content' 0.01310.0015 866.359429.9922
Script end 0.0146  896.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.9241140.0002
Check MTime0.00117.5434140.0001
Mysql Total
Database connection0.00074.537510.0007
Mysqli_queries0.002215.397430.0007
Looping result0.00000.075210.0000
Template Total0.00117.710.0011
Template load0.00096.026610.0009
Template processing0.00021.583910.0002
Override
Cache load0.00064.176310.0006
General
dbfile0.001711.592280.0002
String conversion0.00000.049040.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