Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26599

Mod Quiz Edit incorrectly rendering HTML layout

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
    • Environment:
      Ubuntu 10.10, Apache, Postgres
    • Affected Branches:
      MOODLE_20_STABLE

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: