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

Block editing doesn't find 'content' region in /my page (cannot move block to centre column)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.5.4, 2.6.1
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE

      Description

      The editing page for blocks get's its list of page regions using the function get_all_block_regions() in lib/outputlib.php. This works by loading the layouts array from the current theme and recording what regions are defined.

      Unfortunately, this breaks for the 'My Moodle' page. The centre region is defined in the my/index.php page not the theme so it doesn't get found.

      Hence, it is now impossible to move blocks to the centre column.

      I'm almost certain that this used to work in earlier versions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              howardsmiller Howard Miller
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: