About feedback form

Author Message

Pascal France

Wednesday 14 October 2009 12:19:49 pm

Hi,

I use eZP 4.2 and I would like to know if there is a way, with a feedback form, to have:

1°/ a confirmation when we clic on the «Discard» button ?
2°/ a preview of the form before to send it ?

It seems that this 2 functions are only available when we create an object.

By default, DiscardButton redirects to /(index.php)/(siteaccess_name)/content/action and displays an empty page. RedirectIfDiscarded has no effect.

If I add this line in the template which displays the form:

<input class="button" type="submit" name="ActionPreview" value="{'Preview'|i18n('design/standard/node/view')}" />

the preview page only displays the form again but empty. And nothing about the fields which had been filled in.

3°/ the collected infos displayed before the send action and with a send button ?

About this third point, should be the template which displays the form calls (if there is no warnning) the template which collects and displays the infos, which, in its turn, calls the template submission vis a send button.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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

Main resources:

Total runtime0.9058 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.0105 591.9766152.6250
Module start 'layout' 0.01050.0048 744.601639.4297
Module start 'content' 0.01530.8894 784.0313434.8516
Module end 'content' 0.90460.0012 1,218.88288.1875
Script end 0.9058  1,227.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4041160.0002
Check MTime0.00130.1471160.0001
Mysql Total
Database connection0.00140.153310.0014
Mysqli_queries0.856494.5451460.0186
Looping result0.00050.0569440.0000
Template Total0.861295.120.4306
Template load0.00220.241920.0011
Template processing0.859094.833420.4295
Template load and register function0.00070.074910.0007
states
state_id_array0.00130.147610.0013
state_identifier_array0.00130.143320.0006
Override
Cache load0.00180.1975150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.073910.0007
Fetch class attribute name0.00060.071010.0006
XML
Image XML parsing0.00010.014710.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00170.1874100.0002
String conversion0.00000.001740.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
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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs