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?
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
You must be logged in to post messages in this topic!