Quiz Summary Page Hiding: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Summary page in Moodle | == Summary page in Moodle quiz == | ||
---- | ---- | ||
At the end of every | At the end of every quiz user sees a summary page asking to confirm quiz finishing. | ||
[[{{ns:file}}:SummaryPage1.png]] | [[{{ns:file}}:SummaryPage1.png]] | ||
Line 15: | Line 15: | ||
== Finishing | == Finishing quiz without summary page == | ||
---- | ---- | ||
As a way not see the summary page is to ask the confirmation on the last | As a way not see the summary page is to ask the confirmation on the last quiz page. | ||
[[File:3.PNG]] | [[File:3.PNG]] | ||
Line 35: | Line 35: | ||
'''Quiz administration -> Edit settings:''' | '''Quiz administration -> Edit settings:''' | ||
Add yes/no trigger to Layout menu of | Add yes/no trigger to Layout menu of quiz. | ||
[[File:5.PNG]] | [[File:5.PNG]] | ||
'''Quiz administration -> Edit | '''Quiz administration -> Edit quiz:''' | ||
Add a new special summary page with a checkbox. | Add a new special summary page with a checkbox. | ||
Line 56: | Line 56: | ||
'''Change table structure''' | '''Change table structure''' | ||
The most obvious way to add a new column to the quiz information table | The most obvious way to add a new column to the quiz information table mdl_quiz.This table was created for storing options and it`s common to add such things. But this table has already many columns and we need to take into account our new column in backup and restore procedures. | ||
[[File:7.PNG ]] | [[File:7.PNG ]] | ||
Line 62: | Line 62: | ||
'''Add row''' | '''Add row''' | ||
If we don`t want to add a new column we may add a new row to a table | If we don`t want to add a new column we may add a new row to a table quiz_slots. This table contains the information about quiz pages configuration. May be it`s a reason to add a new additional slot for summary page. Some columns fill by negative numbers to mark it as not a question. This way allow not to change structure but confuses different objects in one table. It can cause more additional conditions in php code to filter what is question and what is not and which page to show in quiz and which not. | ||
[[File:8.PNG]] | [[File:8.PNG]] | ||
Line 68: | Line 68: | ||
'''Edit quiz name'''' | '''Edit quiz name'''' | ||
This way is a temporary solution and it doesn`t need any addings to database. If we need to add flag we can add to a | This way is a temporary solution and it doesn`t need any addings to database. If we need to add flag we can add to a quiz name or intro any invisible symbol and then check it as a flag. | ||
[[File:9.png]] | [[File:9.png]] |
Revision as of 06:53, 24 September 2015
Summary page in Moodle quiz
At the end of every quiz user sees a summary page asking to confirm quiz finishing.
Pushing the "Submit all and finish" user gets another submit request.
Only after this user can finish and go to review page.
Finishing quiz without summary page
As a way not see the summary page is to ask the confirmation on the last quiz page.
Pushing next user finishes his attempt and goes to review page.
Turning off the summary page
We should have an additional option to omit the summary page.
There are some variants to place this option:
Quiz administration -> Edit settings:
Add yes/no trigger to Layout menu of quiz.
Quiz administration -> Edit quiz:
Add a new special summary page with a checkbox.
Add a new special summary page with a add-option on the page. And spedial close-button for disabling.
Storing the flag
The main problem of this task we need save anywhere the flag about the summary page showing. I`ve got some ideas how to save this information:
Change table structure
The most obvious way to add a new column to the quiz information table mdl_quiz.This table was created for storing options and it`s common to add such things. But this table has already many columns and we need to take into account our new column in backup and restore procedures.
Add row
If we don`t want to add a new column we may add a new row to a table quiz_slots. This table contains the information about quiz pages configuration. May be it`s a reason to add a new additional slot for summary page. Some columns fill by negative numbers to mark it as not a question. This way allow not to change structure but confuses different objects in one table. It can cause more additional conditions in php code to filter what is question and what is not and which page to show in quiz and which not.
Edit quiz name'
This way is a temporary solution and it doesn`t need any addings to database. If we need to add flag we can add to a quiz name or intro any invisible symbol and then check it as a flag.
The problem that user can delete it by name/intro edition.
There are all my ideas for this solution. If somebody knows how to do it better or can something advise please help me.