The Poll module from Sitecore marketplace provides an easy way to add poll functionality to your Sitecore site. https://marketplace.sitecore.net/en/Modules/Poll_Module.aspx

Unfortunately it does not work with Sitecore 7.2 which has some breaking API changes. In my last project we had a requirement related to polls functionality and I was able to fix the Polls module to make it work with Sitecore 7.2 with minor changes. This document and provided source code will be helpful for anyone who is planning to use polls feature in Sitecore version 7.2

Issues found with the current poll module:

  1. It is built on .net framework 3.5 and hence does not work with Sitecore 7.0 and above which are based on .Net framework 4.5
  2. When the polls module is added to a page, it tries to insert a css reference to the page header assuming header is a server side control. I modified the RegisterCSS method to fix the css reference issue.
  3. Also code refers to two fields PollItemCookiesRequiredField and PollItemCookiesRequiredTextField which does not have correct Ids. I had to comment these to make code work.

Steps to Fix the issue:

  1. Download and Install the Poll Module from Market place. Link here: https://marketplace.sitecore.net/en/Modules/Poll_Module.aspx
  2. Download the modified version of source code from here ( https://github.com/h-j/SitecorePollModule ) and include in your project.
  3. Add reference to the Sitecore.Modules.DMSPoll.dll to your project so that it gets deployed to the bin folder and overrides the package dll.
  4. You are all set to use Poll module in your Sitecore environment.

Let me know if you face any issue using it.