A fully featured polls plugin for Craft CMS. Including translatable questions and options, custom fields for answer options, anonymous voting or login required, a bar graph in the answers admin section, other option for free text input.
A license for commercial use and more information can be found at wesleyluyten.com/projects/craft-cms-polls
The source of this plugin is shared but it's not free to use on commercial websites, please consult the LICENSE before using this plugin.
###Requirements
- Craft 2.4+
- PHP 5.4+
###Install
- Download and unzip Polls plugin zip file.
- Drop polls plugin folder in craft/plugins.
- Go to Admin / Settings / Plugins and click install.
###Update
- Download and unzip Polls plugin zip file.
- Replace craft/plugins/polls folder by the one that you have downloaded.
###Usage To add a basic poll form to your website insert this code in your template.
{{ craft.polls.form({
pollResponse: pollResponse|default(null)
}) }}
You can also write your own code by copying the contents of polls/templates/forms/basic.html
in your own template and tweaking as you see fit.