banal Reply #1, 4 years ago
Hi all.
I'm in desperate need for a Poll Module for MODx. I installed the Poll Module by garryn but it doesn't meet my requirements, since i will use it primarily on multilingual sites. I can't see any other alternative, so i started to develop a new Poll Module, loosely based on the work by garryn.
Let me list the planned features so that you might add ideas/wishes while it's hot...
Administration (Module for MODX, work in progress)
Output This is basically where i started.. developing a AJAX based replacement for garryns "PollResults" and "PollVote" Snippets. Now it's just a single snippet, that shows a poll and sends your vote and updates the results via AJAX. This will be extended to work with multiple languages (not too much additional work to do to get there...)
Planned features for later release...
Dependencies/Requirements
Hope this will help somebody when it's done.
Cheers -- banal
Edit (2008-01-29)
Added some features and the Requirements/Dependencies section.
Edit (2008-02-01)
Added some snippet features and changed MySQL Requirements
Edit (2008-02-05)
The EasyPoll Module is ready for testing. Have a look at the development thread.
http://modxcms.com/forums/index.php/topic,22457.0.html
I'm in desperate need for a Poll Module for MODx. I installed the Poll Module by garryn but it doesn't meet my requirements, since i will use it primarily on multilingual sites. I can't see any other alternative, so i started to develop a new Poll Module, loosely based on the work by garryn.
Let me list the planned features so that you might add ideas/wishes while it's hot...
Administration (Module for MODX, work in progress)
-
[list]
- A unlimited amount of polls can be created. done
- Polls can be limited to a certain date-range (by setting a start- and end-date). done
- Polls can be set active/inactive. done
- Polls may consist of a variable amount of possible answers. done
- The user may setup different languages inside the PollManager. done
- PollManager will keep track of the current "translation status" by looking up if question and answers are translated for all the poll-languages (if a language isn't completely translated, it won't be accessible by the snippet thats responsible for output). done
Output This is basically where i started.. developing a AJAX based replacement for garryns "PollResults" and "PollVote" Snippets. Now it's just a single snippet, that shows a poll and sends your vote and updates the results via AJAX. This will be extended to work with multiple languages (not too much additional work to do to get there...)
-
[list]
- Voting and displaying of the results using AJAX. done
- Degrades/works nicely on a browser without JavaScript. done
- Works with friendly urls (garryns snippet only worked without the "alias-path"). done
- Very easy to integrate. Just one Snippet that does all. done
- Hard-coded text can easily be translated to different languages due to external language-files. done
- Custom JavaScript callback function to build your own "transition" from vote-screen to the results-screen. done
- Support for multi-language Polls. done
- Limiting user to one vote per Poll by setting a cookie and/or logging the IP (same as in garryns module). done
- Complete customization of Poll appearance with own chunks and css stylesheet. done
Planned features for later release...
-
[list]
- Poll Archive
Dependencies/Requirements
-
[list]
- MODx 0.9.5 (thats the platform i'm currently developing and testing on)
- mootools for AJAX functionality
- PHP5 or higher
- MySQL Version 4.1 or higher
Hope this will help somebody when it's done.
Cheers -- banal
Edit (2008-01-29)
Added some features and the Requirements/Dependencies section.
Edit (2008-02-01)
Added some snippet features and changed MySQL Requirements
Edit (2008-02-05)
The EasyPoll Module is ready for testing. Have a look at the development thread.
http://modxcms.com/forums/index.php/topic,22457.0.html
-to be compatible with PHP 4 if that is not too much trouble