Test it with this TypoScript:
plugin.tx_myquizpoll_pi1.userData.askAtQuestion = 0 plugin.tx_myquizpoll_pi1.answerChoiceMax = 3 plugin.tx_myquizpoll_pi1.dontShowCorrectAnswers = 1 plugin.tx_myquizpoll_pi1.myVars.answers { input_wrap = a) |,b) |,c) | }
Use the Flexform-Tab "Evaluation" for the evaluation... ... and select the template-file via Flexform too.
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_JOKERS. REF_JOKERS will be empty if "useJokers = 0".
6. Reference to TEMPLATE_QUIZ_USER_TO_SUBMIT (userData.askAtQuestion = 1 or userData.askAtStart = 1), to TEMPLATE_SUBMIT (userData.askAtQuestion = 0) or to TEMPLATE_NO_SUBMIT (if no rights)
7. Dont delete the marker HIDDENFIELDS !!!!!!!
8. Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if is poll or dontShowHighscoreLink = 1 !!!
9. Reference to TEMPLATE_POLLRESULT_URL. REF_POLLRESULT_URL will be empty if isPoll = 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 "userData.showAtAnswer = 1", 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_SKIPPED (if "allowSkipping=1" and is quiz, else empty)
6. Reference to TEMPLATE_NEXT (if "showAnswersSeparate=1" and is quiz, else empty)
7. Reference to TEMPLATE_POLLRESULT (if is poll and "dontShowPollResult=0", else empty)
8. Reference to TEMPLATE_POLLRESULT_URL. REF_POLLRESULT_URL will be empty if isPoll = 0 !!!
Optional: ###REF_HIGHSCORE_URL### = Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if is poll or dontShowHighscoreLink = 1 !!!
Optional: ###REF_QUIZ_LIMIT### = Reference to TEMPLATE_QUIZ_TIME_LIMIT. REF_QUIZ_LIMIT will be empty if "quizTimeMinutes = 0".
Last/final page (if pageQuestions > 0):
1. Reference to TEMPLATE_NO_MORE. REF_NO_MORE will be empty if pageQuestions = 0 !!!
2. Reference to TEMPLATE_QUIZ_USER_SUBMITED if userdata.showAtFinal = 1, else empty
3. Reference to TEMPLATE_QUIZ_ANALYSIS_x. x depends on "showAnalysis". REF_QUIZ_ANALYSIS will be empty if showAnalysis = 0 !!!
4. Reference to TEMPLATE_QUIZ_USER_TO_SUBMIT if userdata.askAtFinal = 1, else empty
5. Dont delete the marker HIDDENFIELDS !!!
6. Reference to TEMPLATE_HIGHSCORE. REF_HIGHSCORE will be empty if showHighscore = 0 !!!
7. Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if dontShowHighscoreLink = 1 !!!
Optional: ###RESTART_QUIZ###
Instead of VAR_ANSWER_POINTS you can use VAR_QUESTION_POINTS or VAR_NEXT_POINTS (test it). And you can use ###VAR_QUESTION### and ###VAR_QUESTIONS###.
###REF_QUESTION_IMAGE_BEGIN###You can use this markers too: ###REF_QR_ANSWER_ALL### or ###REF_QR_ANSWER_CORR### instead of
REF_QR_ANSWER_CORR_ANSW,-CORR_NOTANSW,-NOTCORR_NOTANSW,-NOTCORR_ANSW (this will be automatically used by REF_QR_ANSWER_ALL in original order) !!!
And you can use ###VAR_QUESTION### and ###VAR_QUESTIONS###.
Also avaiable: (###TOTAL_POINTS###: ###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###)
And: ###SO_FAR_REACHED1### ###VAR_OVERALL_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_OMAX_POINTS###) ###SO_FAR_REACHED2###
Also avaiable: VAR_MISSING_POINTS and VAR_TMISSING_POINTS
And: ###SO_FAR_REACHED1### ###VAR_OVERALL_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_OMAX_POINTS###) ###SO_FAR_REACHED2###
###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###
###VAR_NO### ###SKIPPED###
No more questions. You can use here these markers too (out of ###QUIZ_ANSWERS###): ###RESTART_QUIZ###, ###CORRECT_ANSWERS###, ###YOUR_EVALUATION###, ###RESULT_POINTS###: ###VAR_RESULT_POINTS### / ###VAR_MAX_POINTS### (###TOTAL_POINTS###: ###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###)Du hast ###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS### Punkte erhalten. ###YOUR_EVALUATION###
Show all questions and correct answers. Shown if you use "CMD=allanswers". You can use ###REF_QR_ANSWER_ALL### instead of ###REF_QR_ANSWER_CORR### and you can use ###VAR_QUESTION### and ###VAR_QUESTIONS###.You can use this template if you set "finishedMinPercent = 60" (60 is a percent value). If you want to make a redirect to another page set "finishedMinPercent = 60:1". 1 is the UID of the target page!
Highscore-list. You can use this markers too: VAR_PERCENT, VAR_MAX, VAR_O_MAX, VAR_TIME
Allowed Markers here: ###VAR_NAME###, ###VAR_EMAIL###, ###VAR_HOMEPAGE###, ###VAR_TO_HOMEPAGE###, ###VAR_NAME_AND_EMAIL######CAPTCHA_NOT_OK###
Show all questions and correct answers in the email. (You can use ###REF_QR_ANSWER_ALL### instead of ###REF_QR_ANSWER_CORR### and you can use ###VAR_QUESTION### and ###VAR_QUESTIONS###)Email to admin (if email.send_admin > 0)