Hey, I downloaded the latest trunk of the polls module, and i have the latest Silverstripe 2.2. However it seems like the polls plugins is not working correctly?, i get bunch of errors in the admin area. Can that be true or am i doing something wrong?.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hey - What errors do you come across? Im currently working on that module so if you are having any errors let me know and I'll have a look into it. It should be working fine with SS 2.2.2
Make sure you've done a db/build.
Its fairly limited at the moment the module but Im going to adding graphing for the results (both front end and backend) in the coming week hopefully as this is needed for one of our projects
Hey,
Ok i fixed the error, it seemed that i had some leftovers in the database, just one more thing, how can i display the poll on the front page?. I can´t seem to figure that out.
And of course, thank you for your work. I appreciate it.
I think the documentation covers this. But in your code you need a function like
function ShowPoll() {
return new ShowPoll($this, 'ShowPoll');
}
Then in your template you need to have a $ShowPoll