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

Disable by default some blocks, such as feedback, RSS or self-completion

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-73342-master
    • Hide

      Scenario 1: New installation

      1. Install a new Moodle site with the patch.
      2. Go to "Site administration > Plugins > Manage blocks".
      3. Check the following blocks are disabled:
        1. Course summary
        2. Feedback
        3. Remote RSS feeds
        4. Self completion

      Scenario 2: Upgrade with existing block instances

      The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 508fe3937edc3b0de058a1d4f001bc93600dd01d".

      1. Install a new Moodle site without the patch.
      2. Go to "Site administration > Plugins > Manage blocks".
      3. Check the following blocks are enabled:
        1. Course summary
        2. Feedback
        3. Remote RSS feeds
        4. Self completion
      4. Create a course.
      5. Add an instance of the previous blocks (Course summary, Feedback, Remote RSS feeds, Self completion) to the course.
      6. Apply the patch and run the upgrade process.
      7. Go to "Site administration > Plugins > Manage blocks".
      8. Check the following blocks are still enabled:
        1. Course summary
        2. Feedback
        3. Remote RSS feeds
        4. Self completion

       

      Scenario 3: Upgrade without block instances

      The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 508fe3937edc3b0de058a1d4f001bc93600dd01d".

      1. Install a new Moodle site without the patch.
      2. Go to "Site administration > Plugins > Manage blocks".
      3. Check the following blocks are enabled:
        1. Course summary
        2. Feedback
        3. Remote RSS feeds
        4. Self completion
      4. Apply the patch and run the upgrade process.
      5. Go to "Site administration > Plugins > Manage blocks".
      6. Check the following blocks are now disabled:
        1. Course summary
        2. Feedback
        3. Remote RSS feeds
        4. Self completion

       

      Scenario 4: Upgrade Full preset

      The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 508fe3937edc3b0de058a1d4f001bc93600dd01d".

      1. Install a new Moodle site without the patch.
      2. Go to "Site administration > Plugins > Manage blocks".
      3. Disable the following blocks:
        1. Course summary
        2. Feedback
        3. Remote RSS feeds
        4. Self completion
      4. Go to "Site administration > Site admin presets".
      5. Apply the "Full" preset.
      6. Apply the patch and run the upgrade process.
      7. Go to "Site administration > Plugins > Manage blocks".
      8. Go to "Show version history" for the "Full" preset.
      9. Restore the version.
      10. Check the following blocks are still disabled:
        1. Course summary
        2. Feedback
        3. Remote RSS feeds
        4. Self completion
      Show
      Scenario 1: New installation Install a new Moodle site with the patch. Go to "Site administration > Plugins > Manage blocks". Check  the following blocks are disabled: Course summary Feedback Remote RSS feeds Self completion Scenario 2: Upgrade with existing block instances The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 508fe3937edc3b0de058a1d4f001bc93600dd01d". Install a new Moodle site without the patch. Go to "Site administration > Plugins > Manage blocks". Check  the following blocks are enabled: Course summary Feedback Remote RSS feeds Self completion Create a course. Add an instance of the previous blocks (Course summary, Feedback, Remote RSS feeds, Self completion) to the course. Apply the patch and run the upgrade process. Go to "Site administration > Plugins > Manage blocks". Check  the following blocks are still enabled: Course summary Feedback Remote RSS feeds Self completion   Scenario 3: Upgrade without block instances The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 508fe3937edc3b0de058a1d4f001bc93600dd01d". Install a new Moodle site without the patch. Go to "Site administration > Plugins > Manage blocks". Check  the following blocks are enabled: Course summary Feedback Remote RSS feeds Self completion Apply the patch and run the upgrade process. Go to "Site administration > Plugins > Manage blocks". Check  the following blocks are now disabled: Course summary Feedback Remote RSS feeds Self completion   Scenario 4: Upgrade Full preset The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 508fe3937edc3b0de058a1d4f001bc93600dd01d". Install a new Moodle site without the patch. Go to "Site administration > Plugins > Manage blocks". Disable the following blocks: Course summary Feedback Remote RSS feeds Self completion Go to "Site administration > Site admin presets". Apply the "Full" preset. Apply the patch and run the upgrade process. Go to "Site administration > Plugins > Manage blocks". Go to "Show version history" for the "Full" preset. Restore the version. Check  the following blocks are still disabled: Course summary Feedback Remote RSS feeds Self completion
    • Moppies Kanban

    Description

      The following blocks should be disabled by default in new installations. When upgrading the Moodle version, these blocks should be disabled too, unless they have any existing instance (in that case, they will stay enabled).

      The blocks to disable by default because they are super-specific or not as used as they were in the past are:

      • Course summary. It only displays the course summary.
      • Feedback. It's only useful when mod_feedback is created in the site course (so it would be better to ask admins using site feedbacks to enable it, instead of having it all the time in the list).
      • Remote RSS feeds. Nowadays, RSS is not as widely used as it was in the past.
      • Self completion. It makes sense only when "Self-completion" has been marked in the course completion settings. The current string "Note: The self completion block should be added to the course if manual self-completion is enabled" might be reviewed to add a reference to ask to enable it if it's disabled.

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              sarjona Sara Arjona (@sarjona)
              Carlos Escobedo Carlos Escobedo
              Shamim Rezaie Shamim Rezaie
              Angelia Dela Cruz Angelia Dela Cruz
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 10 minutes
                  1d 10m