Test it with this Typoscript:
plugin.tx_myquizpoll_pi1.sortBy = random
plugin.tx_myquizpoll_pi1.pageQuestions = 1
plugin.tx_myquizpoll_pi1.dontShowPoints = 1
plugin.tx_myquizpoll_pi1.dontShowUserResult = 1
plugin.tx_myquizpoll_pi1.dontShowCorrectAnswers = 0
plugin.tx_myquizpoll_pi1.showHighscore = 0
plugin.tx_myquizpoll_pi1.dontShowHighscoreLink = 1
plugin.tx_myquizpoll_pi1.dontShowUserData = 1
plugin.tx_myquizpoll_pi1.templateFile = fileadmin/template/files/tx_example1.html
Questions page:
Empty or reference to TEMPLATE_CAPTCHA_NOT_OK.
Reference to TEMPLATE_QUIZ_TIME_LIMIT. REF_QUIZ_LIMIT will be empty if "quizTimeMinutes = 0".
Reference to TEMPLATE_PAGE_TIME_LIMIT. REF_PAGE_LIMIT will be empty if "pageTimeSeconds = 0".
Multiple reference to TEMPLATE_QUESTION.
Reference to TEMPLATE_QUIZ_USER_TO_SUBMIT (dontShowUserData = 0), to TEMPLATE_SUBMIT (dontShowUserData = 1) or to TEMPLATE_NO_SUBMIT (if no rights)
Dont delete the marker HIDDENFIELDS !!!!!!!
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 isPoll = 0 !!!
Result page:
Empty or reference to TEMPLATE_CHEATING.
Reference to TEMPLATE_QUIZ_TIME_LIMIT. REF_QUIZ_LIMIT will be empty if "quizTimeMinutes = 0".
Reference to TEMPLATE_POLL_SUBMITED (poll) or to TEMPLATE_QUIZ_USER_SUBMITED (quiz; if "dontShowUserData=0" and "dontShowUserResult=0", else empty).
Multiple reference to TEMPLATE_QRESULT (empty if is poll or "dontShowCorrectAnswers=1").
Reference to TEMPLATE_RESULT_POINTS or TEMPLATE_RESULT_POINTS_TOTAL (if is quiz and "dontShowPoints=0", else empty)
Reference to TEMPLATE_NEXT (if "showAnswersSeparate=1" and is quiz, else empty)
Reference to TEMPLATE_POLLRESULT (if is poll and "dontShowPollResult=0", else empty)
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 !!!
Last/final page:
Reference to TEMPLATE_NO_MORE. REF_NO_MORE will be empty if pageQuestions = 0 !!!
Reference to TEMPLATE_QUIZ_ANALYSIS_x. x depends on "showAnalysis". REF_QUIZ_ANALYSIS will be empty if showAnalysis = 0 !!!
Reference to TEMPLATE_HIGHSCORE. REF_HIGHSCORE will be empty if showHighscore = 0 !!!
Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if dontShowHighscoreLink = 1 !!!
###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###
###NO_MORE###
###THANK_YOU###
###CHEATING###
You can use this Templates if you set "showAnalysis = 0,33.34,66.67,100". You can choose other percent values (than you have to rename the templates).
If you want to make a redirect to another page set "showAnalysis = 0:1,33.34:2,66.67:3,100:4". 1,2,3 and 4 are UIDs of target pages.
###REACHED1### ###VAR_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###) ###REACHED2###.
Das ist nun wahrlich wenig... als Quiz-König kann man dich nicht bezeichnen.
###REACHED1### ###VAR_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###) ###REACHED2###.
Nun ja, selbst durch raten kann man zu einem besseren Ergebnis kommen...
###REACHED1### ###VAR_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###) ###REACHED2###.
Damit liegst du im guten Mittelfeld...
###REACHED1### ###VAR_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###) ###REACHED2###.
Hey, das ist ja ein super Ergebnis!
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!
###SO_FAR_REACHED1### ###VAR_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###) ###SO_FAR_REACHED2###
###REACHED1### ###VAR_OVERALL_PERCENT###% (###VAR_TOTAL_POINTS### / ###VAR_OMAX_POINTS###) ###REACHED2###
Das reicht. Wie wärs nun hiermit: ...
###NUMBER### | ###POINTS### | ###NAME### | ###DATE### |
---|---|---|---|
###VAR_COUNT### | ###VAR_POINTS### | ###REF_HIGHSCORE_QUIZ_TAKER### | ###VAR_DATE### |
###ANSWER### | ###VOTES### |
---|---|
###VAR_ANSWER### | ###VAR_HITS### (###VAR_PERCENT###%) |
###HIGHSCORE_URL###
###POLLRESULT_URL###
###CAPTCHA_NOT_OK###