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

Blocks in category pages disappear when editing is turned off

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.2.1
    • Blocks
    • MOODLE_21_STABLE
    • MOODLE_22_STABLE

    Description

      You can add extra blocks to the category area but they disappear as soon as you turn editing off. This problem has come in 2.1 and I think it's the result of a change in the "Restrict to these page types" to "Display on page types" in the block setting.
      When not editing a page it is page type: "course-category" and when in editing mode page type: "admin-course-category" A block can now only be displayed in to location "Any site administration page" or "The current site administration page". In 2.0 you could select "* (Any page)" so it worked.

      Replication instructions:

      1. Go to a category page
      2. Turn editing on
      3. Add a block (e.g. HTML)
      4. Save the new block - you will see it on the left side
      5. Turn editing off

      The block will be missing.

      Attachments

        Activity

          People

            moodle.com Moodle HQ
            a.king Andrew King
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Jan/12