Poll overide

Author Message

Jacques Feix

Wednesday 11 April 2007 5:22:07 am

Hi,
I have created my own poll class( I've added some pictures..)
So I have duplicated all the poll.tpl templates, and put all the overrides in override.ini
but after my vote I always get the form.tpl in my page where I collect the informations.

when I override the form.tpl, it seems to work but not like the initial poll (without pictures)..

my question is how does it work for the initial poll (who have no override in the collectedinfo )

Thanx for your help,
Jacques

Jacques Feix

Wednesday 11 April 2007 5:48:33 am

what I have found :

eZInformationCollection::userDataHandling( $object ); 

is different one is unique, one is multiple(mine)
what is it ?

Jacques Feix

Wednesday 11 April 2007 6:14:28 am

ok, all is made is in the collect.ini ...

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 31 2025 06:23:28
Script start
Timing: Jan 31 2025 06:23:28
Module start 'layout'
Timing: Jan 31 2025 06:23:28
Module start 'content'
Timing: Jan 31 2025 06:23:28
Module end 'content'
Timing: Jan 31 2025 06:23:28
Script end

Main resources:

Total runtime0.0138 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.0078151.1953
Module start 'layout' 0.00450.0025 739.203136.6016
Module start 'content' 0.00700.0054 775.804790.1250
Module end 'content' 0.01240.0013 865.929729.9922
Script end 0.0137  895.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002216.2485140.0002
Check MTime0.00107.0844140.0001
Mysql Total
Database connection0.00064.431410.0006
Mysqli_queries0.002216.269230.0007
Looping result0.00000.095210.0000
Template Total0.00096.810.0009
Template load0.00075.302410.0007
Template processing0.00021.437310.0002
Override
Cache load0.00053.681610.0005
General
dbfile0.00107.132880.0001
String conversion0.00000.050240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs