Information Collector

Author Message

Thomas Brandl

Wednesday 30 July 2003 5:08:08 am

Hi,

I just tried to follow the "Creating Forms" tutorial and this is the problem I encounter:
I have defined the 'message'-Field as XML-text.
The mail sent to me reads
---------------------------------
...
Message: Object
...
---------------------------------

"Object" should be the message I wrote. So what do I have to do in order to display the entered message correctly in the template?

Btw, does anyone want to share some information about how/she handled some more sophisticated forms?
Sth. very common in forms would be:
- in failure case highlite missing fields or display error message and display correctly filled out fields with their prior values. This would also include correctly selected combos, radios etc.
- Send a confirmation to the user with a defined template
- great plus would be to automatically store these filled out forms as objects in a predefined folder (should be an easy thing??!)

Since I'm very new to eZPub and still struggling to understand the basics, this is sth. I won't be able to find out myself.

So thank you very much for your help!
regards, Thomas

PS: I envy those guys who know eZ in and out and can do whatever they want in a matter of minutes/hours ...

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

Main resources:

Total runtime0.6529 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.0103 587.8047152.6094
Module start 'layout' 0.01030.0034 740.414139.4141
Module start 'content' 0.01370.6378 779.8281408.9297
Module end 'content' 0.65160.0013 1,188.75788.1875
Script end 0.6528  1,196.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5740160.0002
Check MTime0.00160.2386160.0001
Mysql Total
Database connection0.00100.149010.0010
Mysqli_queries0.596791.4048460.0130
Looping result0.00050.0763440.0000
Template Total0.599091.820.2995
Template load0.00310.477420.0016
Template processing0.595991.272920.2979
Template load and register function0.00030.039710.0003
states
state_id_array0.00130.198810.0013
state_identifier_array0.00140.210620.0007
Override
Cache load0.00270.4088220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.108310.0007
Fetch class attribute name0.00070.114710.0007
XML
Image XML parsing0.00010.021910.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00971.4840100.0010
String conversion0.00000.001440.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs