This is another cool example template for a poll.
plugin.tx_myquizpoll_pi1.isPoll = 1 plugin.tx_myquizpoll_pi1.showPollResultLink = 1 plugin.tx_myquizpoll_pi1.myVars.answers { input_id = 1 input_label = 1 } plugin.tx_myquizpoll_pi1.useCookiesInDays = 28 plugin.tx_myquizpoll_pi1.secondPollMode = 1 plugin.tx_myquizpoll_pi1.tableAnswers = tx_myquizpoll_voting plugin.tx_myquizpoll_pi1.templateFile = EXT:myquizpoll/examples/template_poll_basic.html
Questions page:
1. Empty or reference to TEMPLATE_CAPTCHA_NOT_OK.
2. Multiple reference to TEMPLATE_QUESTION.
3. Reference to TEMPLATE_QUIZ_USER_TO_SUBMIT (dontShowUserData = 0), to TEMPLATE_SUBMIT (dontShowUserData = 1) or to TEMPLATE_NO_SUBMIT (if no rights)
4. Dont delete the marker HIDDENFIELDS !!!!!!!
5. Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if is poll or dontShowHighscoreLink = 1 !!!
Optional: ###REF_POLLRESULT_URL### = Reference to TEMPLATE_POLLRESULT_URL. REF_POLLRESULT_URL will be empty if is quiz or showPollResultLink = 0 !!!
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. REF_POLLRESULT_URL will be empty if is quiz or showPollResultLink = 0 !!!
###NO_SUBMIT###
###DOUBLE_ENTRY###
###NOT_LOGGEDIN###
###CHEATING###
###POLLRESULT_URL###
###THANK_YOU### ###QUESTION_NAME### ###VAR_QUESTION_NAME###
###USER_ANSWER### ###VAR_USER_ANSWER###
You can use ###VAR_LINKTAG### too.
Email to admin (if email.send_admin > 0):
1. Reference to TEMPLATE_QUIZ_USER_SUBMITED or TEMPLATE_POLL_SUBMITED
2. Reference to TEMPLATE_QUIZ_ANALYSIS_x. x depends on "showAnalysis". REF_QUIZ_ANALYSIS will be empty if showAnalysis = 0 !!!
3. Reference to TEMPLATE_EMAIL_ALLANSWERS if "showAllCorrectAnswers = 1".
Email to quiz taker (if email.send_user > 0):
1. Reference to TEMPLATE_QUIZ_USER_SUBMITED or TEMPLATE_POLL_SUBMITED
2. Reference to TEMPLATE_QUIZ_ANALYSIS_x. x depends on "showAnalysis". REF_QUIZ_ANALYSIS will be empty if showAnalysis = 0 !!!
3. Reference to TEMPLATE_EMAIL_ALLANSWERS if "showAllCorrectAnswers = 1".