Forums / Setup & design / Is collectedinfo_validation.tpl used ?

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