Is collectedinfo_validation.tpl used ?

Author Message

Pascal France

Wednesday 10 October 2007 1:33:10 pm

Hi,

I'm looking for a solution to know if the collectedinfo_validation.tpl sent an error output or not.
I want to get this in order to change the CSS class of an object in the feedback_form.tpl template

May be is it possible to get the URI page (when an error occures, the URI contains "content/action") but I don't know how to get this URI.

Is it possible to transmit a global variable from collectedinfo_validation.tpl to feedback_form.tpl ?

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

Pascal France

Wednesday 10 October 2007 1:59:43 pm

The solution is:

{if $validation.processed}
xxxx
{else}
xxx
{/if}

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 19 2025 01:06:50
Script start
Timing: Jan 19 2025 01:06:50
Module start 'layout'
Timing: Jan 19 2025 01:06:50
Module start 'content'
Timing: Jan 19 2025 01:06:51
Module end 'content'
Timing: Jan 19 2025 01:06:51
Script end

Main resources:

Total runtime0.7018 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0099 591.1563152.6406
Module start 'layout' 0.00990.0032 743.796939.4766
Module start 'content' 0.01310.6873 783.2734452.8594
Module end 'content' 0.70040.0014 1,236.13288.1406
Script end 0.7017  1,244.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5040160.0002
Check MTime0.00160.2343160.0001
Mysql Total
Database connection0.00120.175010.0012
Mysqli_queries0.642491.5402520.0124
Looping result0.00090.1285500.0000
Template Total0.649492.520.3247
Template load0.00230.327220.0011
Template processing0.647192.207420.3235
Template load and register function0.00040.053210.0004
states
state_id_array0.00630.894610.0063
state_identifier_array0.00110.156820.0006
Override
Cache load0.00190.2719170.0001
Sytem overhead
Fetch class attribute can translate value0.00120.171810.0012
Fetch class attribute name0.00150.220020.0008
XML
Image XML parsing0.00010.012910.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00851.2141100.0009
String conversion0.00000.001640.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
2content/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
2content/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