Home  Extras  MODx Add-Ons  Polls Module

Product:

Polls Module



Forums Support Thread Votes: 59
Tags: Blogging, snippet, module
Submitted: Jun 28, 2006
Released: Jun 28, 2006
Downloads: 3805
License: LGPL
Package Website


Polls Module 3.0 | Author: garryn

Works with the following Version(s): 0.9.1 | 0.9.2 | 0.9.2.1

The Poll Manager Module allows for polls to be created/updated/deleted. The two snippets allow for the results and voting to be added to your site.


Download


Description

For those who are upgrading from version 2 and didn't experience any problems with the install, please just update your voting snippet.

Demo URL: http://www.immerse.me.uk/index.php?id=4

Instructions

Example Snippet Usage:

Please ensure that if you set a redirect page that the page is published. Thanks jwtyler for catching this

The following would display the results of the poll with id=1 and rounded percentages:
!pollresults? &pollid=`1` &decimal=`0`!
To display the voting options for the same poll and redirecting to the document with id=1 (eg. use this option to redirect to a results page) with cookie logging enabled:
!pollvote? &pollid=`1` &redirect=`1` &onevote=true &ovmessage=`You can only vote once` &resultsbutton=true!

Updates

1. Results Button now shows when the parameter is set.
2. Corrected a minor problem in the $onevote code.
3. $ovmessage will now work when parameter is set - before, it would always use the default message.
4. Adjusted the SQL in the module so should work on 3.23* MySQL installs.
5. Some implementations may not have parsed the 'action' of the voting form correctly - this now uses a placeholder so shouldn't cause any issues from now on.




Sub-Packages



Previous Releases



Comments (0)




Allowed tags: <b><i><br>Add a new comment:



 
 
 

Contact Us | Advertise | Team Blog | FAQ | Credits

© 2005-2010 the MODx CMS project. All rights reserved. Privacy Policy | Terms of Service