Forums / Setup & design / Poll setup? Just use package? (still wondering how)

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