How to process a form

Author Message

Hugo Oliveira

Friday 19 January 2007 5:17:16 am

Hi everyone

I was wondering if anyone could help me with a little problem. I need to process a form (basically a POST request), how can I do it? Either by sending the data to ez Publish or to the page where the form's located.

Thanks.

Seth Shoultes

Tuesday 23 January 2007 12:44:11 pm

You cant!! I have been trying for weeks!!

Ville Mattila

Sunday 28 January 2007 9:37:40 am

What kind of form it is? ez Publish provides some basic form processing functionality (feedback form etc) but for complicated forms, you should consider creating an own extension:
http://ez.no/ezpublish/documentation/development/extensions

The documentation is not very complete, but gives you idea about the basics. It's good idea to check out the standard kernel/ directory where ez Publish core resides.

Ville

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

Main resources:

Total runtime0.9876 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.0187 587.9063152.6250
Module start 'layout' 0.01870.0052 740.531339.4453
Module start 'content' 0.02390.9622 779.9766498.5703
Module end 'content' 0.98610.0014 1,278.54698.3281
Script end 0.9876  1,286.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4009160.0002
Check MTime0.00180.1867160.0001
Mysql Total
Database connection0.00510.518310.0051
Mysqli_queries0.924493.6024590.0157
Looping result0.00060.0614570.0000
Template Total0.919493.120.4597
Template load0.00230.236020.0012
Template processing0.917192.859520.4585
Template load and register function0.00020.024410.0002
states
state_id_array0.00300.303110.0030
state_identifier_array0.00160.165220.0008
Override
Cache load0.00190.1947130.0001
Sytem overhead
Fetch class attribute can translate value0.00080.077030.0003
Fetch class attribute name0.00110.107330.0004
XML
Image XML parsing0.00030.031530.0001
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00620.6236100.0006
String conversion0.00000.001140.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
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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 5

Time used to render debug report: 0.0001 secs