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
|