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

Book mod does not add TOC to default region

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.6, 2.5.1, 2.6
    • Fix Version/s: 2.4.7, 2.5.3
    • Component/s: Blocks, Book, Themes
    • Labels:
    • Testing Instructions:
      Hide

      Testing requires a Book activity adding to a course

      1. Select Standard theme
      2. Open the book in a course page and verify that the Table of Contents (TOC) block is displayed on the left (side-pre).
      3. In theme/base/config.php temporarily change the $THEME->layouts default region for 'incourse' from 'side-pre' to 'side-post'.
      4. Go back to the 'book' page and refresh your browser window and verify that the TOC block is now displayed on the right (side-post).
      Show
      Testing requires a Book activity adding to a course Select Standard theme Open the book in a course page and verify that the Table of Contents (TOC) block is displayed on the left (side-pre). In theme/base/config.php temporarily change the $THEME->layouts default region for 'incourse' from 'side-pre' to 'side-post'. Go back to the 'book' page and refresh your browser window and verify that the TOC block is now displayed on the right (side-post).
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-41595_M26

      Description

      The default region, when added to a theme config, should become the default block region for the Book TOC. It should not always be on the left side of the page, as this can create problems in themes.By the way, it can be moved when in edit but reverts back to left side when edit is off. See this post: https://moodle.org/mod/forum/discuss.php?d=236847#p1028595.

        Attachments

          Activity

            People

            Assignee:
            lazydaisy Mary Evans
            Reporter:
            fofcom Rodney Wolford
            Peer reviewer:
            Gareth J Barnard
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Ankit Agarwal
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, David Jones, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Nov/13