Add extra treatment on content/collectinfo

Author Message

Sylvain Gogel

Tuesday 02 June 2009 8:17:45 am

Hi there,
i'm running ez4.0.3 and i got an extra customer request:
I need to do some extra treatment when user submit an information collector.

How can i add my custom code nicely?

i searched for a "collect_information_handler" as for content/edit but no luck this way

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

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

Main resources:

Total runtime0.8947 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.0053 589.1641152.6406
Module start 'layout' 0.00530.0025 741.804739.4766
Module start 'content' 0.00780.8851 781.2813461.5391
Module end 'content' 0.89290.0018 1,242.82038.1250
Script end 0.8947  1,250.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3854160.0002
Check MTime0.00140.1560160.0001
Mysql Total
Database connection0.00080.085310.0008
Mysqli_queries0.849194.8937460.0185
Looping result0.00040.0483440.0000
Template Total0.858796.020.4293
Template load0.00230.256020.0011
Template processing0.856395.708420.4282
Template load and register function0.00020.022610.0002
states
state_id_array0.00100.110110.0010
state_identifier_array0.00140.159220.0007
Override
Cache load0.00170.193290.0002
Sytem overhead
Fetch class attribute can translate value0.00090.103810.0009
Fetch class attribute name0.00040.044620.0002
XML
Image XML parsing0.00210.235510.0021
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00220.2508160.0001
String conversion0.00000.000740.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs