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

Don't display blocks in the "Add a block" list if their main feature is disabled

XMLWordPrintable

    • Moppies Kanban

      Currently, some blocks related to advanced features can be added, even if this feature is disabled (for instance, blogs).

      A mechanism should be added to hide the block from the "Add a block" list if the main feature they are using is disabled.

      This is the list of blocks that could take advantage of this:

      • Accessibility review ($CFG->enableaccessibilitytools)
      • Blog menu (CFG->enableblogs)
      • Blog tags (CFG->enableblogs + $CFG->usetags)
      • Recent blog entries (CFG->enableblogs)
      • Comments ($CFG->usecomments)
      • Course completion status ($CFG->enablecompletion)
      • Flickr ($CFG>usetags) --> No change is required because it can be only added in tag pages (which can be accessed only when tags are enabled).
      • Global search ($CFG->enableglobalsearch)
      • Latest badges ($CFG->enablebadges)
      • Learning plans ($CFG->core_competency | enabled)
      • Tags ($CFG->usetags)
      • Random glossary entry (mod_glossary)
      • Network servers (auth_mnet) 

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Ferran Recio Ferran Recio
            Shamim Rezaie Shamim Rezaie
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours
                2d 2h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.