How to preview collected information BEFORE sending it...

Author Message

Maarten Daniels

Tuesday 20 March 2007 8:33:34 am

Hi there,

I've created a somewhat complex feedback form. I also created an override for the content/collectedinfo/form.tpl to show what information from the user was collected. However, this information has already be sent to the recipeint (webmaster in this case) at the moment this form is shown.

What I would like is a 'preview' button on my feedbackform, which shows the collected info without sending it and a 'send' and 'cancel' button on my collectedinfo form. This gives the user the opportunity to carefully check the data he will be sending, before actually sending it. If he discovers that he's made a mistake, the cancel button should take him back to the feedback form.

Can anyone tell me how I can accomplish this?

Thanks,

Maarten

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

Main resources:

Total runtime0.9931 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.0057 590.8281152.6563
Module start 'layout' 0.00570.0044 743.484439.5078
Module start 'content' 0.01010.9816 782.9922433.1641
Module end 'content' 0.99170.0013 1,216.15638.0938
Script end 0.9930  1,224.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4020160.0002
Check MTime0.00140.1433160.0001
Mysql Total
Database connection0.00110.114410.0011
Mysqli_queries0.950595.7094460.0207
Looping result0.00060.0606440.0000
Template Total0.955896.220.4779
Template load0.00310.307420.0015
Template processing0.952895.940520.4764
Template load and register function0.00010.010210.0001
states
state_id_array0.00210.212510.0021
state_identifier_array0.00120.124720.0006
Override
Cache load0.00260.2606110.0002
Sytem overhead
Fetch class attribute can translate value0.00080.077010.0008
Fetch class attribute name0.00140.145820.0007
XML
Image XML parsing0.00060.059710.0006
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00070.0730160.0000
String conversion0.00000.000840.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs