Poll setup? Just use package? (still wondering how)

Author Message

K259

Wednesday 03 August 2005 12:51:47 am

I want to integrate poll. Is it just to import the poll package and everything will be installed?

Both templates, class and override config?

Best regards

Luc Chase

Wednesday 03 August 2005 12:56:56 am

No need to import anything (unless you're trying to use one other than what is already included). Just create a Poll. Like how you create an article. Or did I mis-understand your question?

The Web Application Service Provider

K259

Wednesday 03 August 2005 1:11:11 am

Hi tnx.

I have created a class 'poll' with attributes:
title, description, question 1(with 3 options),question 2(with 3 options),question 3(with 3 options) etc. up to question 8.

I've created an object of the poll class and filled it with data.

When I try to view it, there is only the default template. I know how to fix a template which fetches the title and the description, but not the questions with the options(optionsbuttons and values)..

Do you have an example of this? .. I assume that this is the full.tpl override (I don't think I need an override for line.tpl. And for the results..how do I sum the data, when the fields are informationcollectors? Are these data stored in the db or just used for e-mail sending?

Tnx

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

Main resources:

Total runtime0.0222 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.0051 590.7031152.6406
Module start 'layout' 0.00510.0032 743.343839.4922
Module start 'content' 0.00830.0114 782.835989.2578
Module end 'content' 0.01970.0024 872.093830.3047
Script end 0.0221  902.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.9092140.0002
Check MTime0.00125.3928140.0001
Mysql Total
Database connection0.00062.591510.0006
Mysqli_queries0.002912.876730.0010
Looping result0.00000.190510.0000
Template Total0.00188.310.0018
Template load0.00104.383310.0010
Template processing0.00093.873210.0009
Override
Cache load0.00062.853010.0006
General
dbfile0.00041.741380.0000
String conversion0.00000.040940.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