Details
Description
Using the current release Moodle 2.0.2+ (Build: 20110223) create a new course with no quiz bank available. Create a quiz and enter as a teacher. After the redirect to mod-quiz-edit the HTML of the page will be incorrectly rendered in several areas including region-pre and footer.
Here's the normal flow for .side-pre-only:
page-content
|
region-main-box
|
region-post-box
|
region-main
|
region-pre
|
-region-post-box
|
-region-main-box
|
-page-content
|
and here's what's happening on #page-mod-quiz-edit
page-content
|
region-main-box
|
region-post-box
|
region-main
|
region-content
|
region-pre
|
-region-main
|
-region-post-box
|
-region-main-box
|
-page-content
|
Side-pre has been nested in region-main rather than following it. The basic layout on every page looks like this:
page
|
page-header
|
page-content
|
page-footer
|
-page
|
but on the quiz page it looks like this:
page
|
page-header
|
page-content
|
region-main-box
|
page-footer
|
-page-content
|
-page
|
you can see that page-footer gets nested inside of page-content for some reason rather than following it. This bug affects core Moodle Themes Base and Standard, and I am assuming others.
For more information see original thread here: http://moodle.org/mod/forum/discuss.php?d=169640