This is a cool example template for a poll. You will need the resources "PlotKit - Javascript Chart Plotting" for this template.
You will find it here: http://www.liquidx.net/plotkit/
Download the latest version and copy the files to your fileadmin-folder.
Note: in version 0.9.1 is the file "iecanvas.htc" missing. You will find it here: http://media.liquidx.net/js/plotkit/iecanvas.htc
You need another resource too: MochiKit. Take the version 1.3.1 from here: http://mac.softpedia.com/get/Developer-Tools/MochiKit.shtml
Copy all files to the fileadmin-folder and include them like this:
plugin.tx_myquizpoll_pi1 { isPoll = 1 showPollResultLink = 1 useCookiesInDays = 28 templateFile = fileadmin/template/files/this_poll_template.html } page.includeJS { mochikit = fileadmin/template/MochiKit/MochiKit.js plotkit = fileadmin/template/PlotKit/PlotKit_Packed.js excanvas = fileadmin/template/PlotKit/excanvas.js }
Questions page:
1. Empty or reference to TEMPLATE_CAPTCHA_NOT_OK.
2. Reference to TEMPLATE_QUIZ_TIME_LIMIT. REF_QUIZ_LIMIT will be empty if "quizTimeMinutes = 0".
3. Reference to TEMPLATE_PAGE_TIME_LIMIT. REF_PAGE_LIMIT will be empty if "pageTimeSeconds = 0".
4. Multiple reference to TEMPLATE_QUESTION.
5. Reference to TEMPLATE_QUIZ_USER_TO_SUBMIT (dontShowUserData = 0), to TEMPLATE_SUBMIT (dontShowUserData = 1) or to TEMPLATE_NO_SUBMIT (if no rights)
6. Don't delete the marker HIDDENFIELDS !!!!!!!
7. Reference to TEMPLATE_POLLRESULT_URL.
Result page:
1. Empty or reference to TEMPLATE_CHEATING.
2. Reference to TEMPLATE_POLL_SUBMITED (poll) or to TEMPLATE_QUIZ_USER_SUBMITED (quiz; if "dontShowUserData=0" and "dontShowUserResult=0", else empty).
3. Multiple reference to TEMPLATE_QRESULT (empty if is poll or "dontShowCorrectAnswers=1").
4. Reference to TEMPLATE_RESULT_POINTS or TEMPLATE_RESULT_POINTS_TOTAL (if is quiz and "dontShowPoints=0", else empty)
5. Reference to TEMPLATE_NEXT (if "showAnswersSeparate=1" and is quiz, else empty)
6. Reference to TEMPLATE_POLLRESULT (if is poll and "dontShowPollResult=0", else empty)
Optional: Reference to TEMPLATE_POLLRESULT_URL.
###VAR_QUESTION_IMAGE### |
###RESULT_POINTS###: ###VAR_RESULT_POINTS### / ###VAR_MAX_POINTS###
###RESULT_POINTS###: ###VAR_RESULT_POINTS### / ###VAR_MAX_POINTS### (###TOTAL_POINTS###: ###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###)
###NAME###: | ||||
###EMAIL###: | ||||
###HOMEPAGE###: | ||||
###SR_FREECAP_NOTICE### |
###SR_FREECAP_IMAGE### ###SR_FREECAP_ACCESSIBLE### |
###RESULT_FOR###:
###NAME###: ###REAL_NAME###
###EMAIL###: ###REAL_EMAIL###
###HOMEPAGE###: ###REAL_HOMEPAGE###
###NO_SUBMIT###
###DOUBLE_ENTRY###
###NOT_LOGGEDIN###
###CHEATING###
No more questions. You can use here these Markers too: ###RESTART_QUIZ###, ###RESULT_POINTS###: ###VAR_RESULT_POINTS### / ###VAR_MAX_POINTS### (###TOTAL_POINTS###: ###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###)###NO_MORE###
###POLLRESULT_URL###
###THANK_YOU###