This is a cool example template for a "Wer wird Millioär?"-Quiz. Test it with this TS (and your own images):
plugin.tx_myquizpoll_pi1.templateFile = EXT:myquizpoll/examples/template_millionaer.html plugin.tx_myquizpoll_pi1.pageQuestions = 1 plugin.tx_myquizpoll_pi1.dontShowCorrectAnswers = 1 plugin.tx_myquizpoll_pi1.dateFormat = d.m.Y plugin.tx_myquizpoll_pi1.useJokers = 1 plugin.tx_myquizpoll_pi1.pageTimeSeconds = 31 plugin.tx_myquizpoll_pi1.quizTimeMinutes = 9 plugin.tx_myquizpoll_pi1.cancelWhenWrong = 1 plugin.tx_myquizpoll_pi1.noNegativePoints = 2 plugin.tx_myquizpoll_pi1.showHighscore = 1 #plugin.tx_myquizpoll_pi1.doubleEntryCheck = 1 plugin.tx_myquizpoll_pi1.myVars.answers { buchstabe = A,B,C,D nummer = 1,2,3,4 tr_an =input_radio = onclick="changeBG(1);" id="answer1",onclick="changeBG(2);" id="answer2",onclick="changeBG(3);" id="answer3",onclick="changeBG(4);" id="answer4" input_wrap = ,,, } page.includeCSS { file2 = EXT:myquizpoll/examples/quiz_mill.css } , tr_aus = ,
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 (dontShowUserData = 0), to TEMPLATE_SUBMIT (dontShowUserData = 1) 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 "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_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_ANALYSIS_x. x depends on "showAnalysis". REF_QUIZ_ANALYSIS will be empty if showAnalysis = 0 !!!
3. Reference to TEMPLATE_HIGHSCORE. REF_HIGHSCORE will be empty if showHighscore = 0 !!!
4. Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if dontShowHighscoreLink = 1 !!!
Du bist jetzt vermutlich Millionär, was?
###REF_QUIZ_ANALYSIS### ###REF_HIGHSCORE### ###REF_HIGHSCORE_URL###
###VAR_QUESTION_TITLE###: ###VAR_QUESTION_NAME###
|
###MY_BUCHSTABE###:###VAR_QUESTION_ANSWER###
| ###MY_TR_AUS###
Dein Kontostand: ###VAR_TOTAL_POINTS### €
Dein Kontostand: ###VAR_TOTAL_POINTS### €
###NAME###: | ||||
###EMAIL###: |
###RESULT_FOR###:
###NAME###: ###REAL_NAME###
###EMAIL###: ###REAL_EMAIL###
###HOMEPAGE###: ###REAL_HOMEPAGE###
###NO_SUBMIT###
###DOUBLE_ENTRY###
###NOT_LOGGEDIN###
###CHEATING###
###VAR_NO### ###SKIPPED###
Der Joker sagt:
none :-(
###VAR_SECS###
No more questions. You can use here these Markers too: ###RESTART_QUIZ###, ###CORRECT_ANSWERS###,
###RESULT_POINTS###: ###VAR_RESULT_POINTS### / ###VAR_MAX_POINTS### (###TOTAL_POINTS###: ###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###)
###NO_MORE### ###VAR_QUESTION_TITLE###
###VAR_QUESTION_NAME###
###REF_QR_ANSWER_CORR###
###REF_QR_EXPLANATION###
###REF_DELIMITER###
###REACHED1### ###VAR_TOTAL_POINTS### / 1.000.000 € ###QUIZ_END### versuch es gleich nocheinmal. Highscore-list. You can use this markers too: VAR_PERCENT, VAR_MAX, VAR_O_MAX, VAR_TIME
###VAR_COUNT###.
###REF_HIGHSCORE_QUIZ_TAKER###
###VAR_POINTS### €
###VAR_DATE###
Allowed Markers here: ###VAR_NAME###, ###VAR_EMAIL###, ###VAR_HOMEPAGE###, ###VAR_TO_HOMEPAGE###, ###VAR_NAME_AND_EMAIL###
###VAR_NAME_AND_EMAIL###
###HIGHSCORE_URL### ###POLLRESULT_URL### ###THANK_YOU### Also avaiable marker: VAR_ANSWER1,VAR_ANSWER2,VAR_ANSWER3,VAR_ANSWER4,VAR_ANSWER5 and VAR_HITS1,VAR_HITS2,VAR_HITS3,VAR_HITS4,VAR_HITS5 and VAR_PERCENT1,VAR_PERCENT2,VAR_PERCENT3,VAR_PERCENT4,VAR_PERCENT5 ###VAR_QUESTION_TITLE###
###VAR_QUESTION_NAME###
###CAPTCHA_NOT_OK### |