Open universityofglasgow opened 9 years ago
does this also happen on the parent? theme_bootstrap
On Tue, Nov 18, 2014 at 10:40 PM, universityofglasgow < notifications@github.com> wrote:
When quiz is running in secure mode, the layout is broken. The blocks are pushed below the content rather than being in a side-bar. The following notice is produced...
Notice: Undefined variable: regions in /path/to/moodle/theme/elegance/layout/secure.php on line 111
However, worse, it also breaks the quiz navigation. Clicking between questions (using the quiz navigation block) does NOT save the questions. It silently fails - a potential disaster in a timed exam.
— Reply to this email directly or view it on GitHub https://github.com/thedannywahl/moodle-theme_elegance/issues/90.
Danny Wahl iyWare.com
No. Bootstrap works.
The layout/secure.php file looks completely wrong. It doesn't appear to load the javascript bits of the page which as at the root of the issue. Simply copying over the secure.php provides a (rather incomplete) workaround if desperate.
When quiz is running in secure mode, the layout is broken. The blocks are pushed below the content rather than being in a side-bar. The following notice is produced...
Notice: Undefined variable: regions in /path/to/moodle/theme/elegance/layout/secure.php on line 111
However, worse, it also breaks the quiz navigation. Clicking between questions (using the quiz navigation block) does NOT save the questions. It silently fails - a potential disaster in a timed exam.
The layout is fixed by adding the missing line
...which is missing from this layout (same as other layouts). However, the quiz navigation is still broken and does not save the quiz answers. Note the questions DO save when using the Bootstrap theme.
EDIT: Just noticed that the HTML editor does not load for essay type questions. It does for the Bootstrap theme.