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

Ability to hide pages from the settings navigation to reduce complexity

    Details

      Description

      While at Moodle moot AU 2011 I noted that several times people referred to the number of settings and how people still fear the settings in Moodle due to their numbers and complexity.
      I was thinking on this while I was on the plane home, and came up with a simple solution that would allow the admin or someone with moodle/site:config to hide pages from the settings block by simply selecting to through an admin page (that itself can be hidden).
      This process of hiding from display allows people to really cut down the settings by hiding pages that only set once, are set very rarely, or are of no interest/use to the site.
      At the same time because the pages are only hidden from display if the user searches for them they are still able to find those pages + the settings on them, and are able to get to the pages via the search.
      Along with this change there is also a new user preference that can be set on a user to user basis to show things that have been hidden by this new settings access control.

      The initial patch is complete, interface still needs a little work perhaps and certainly some nice JS, and by all means the strings I have written are crap - they will need improving if its decided this is a good idea.
      Definitely also needs testing on upgrade + install.

      Cheers
      Sam

        Gliffy Diagrams

        1. 28430.patch
          12 kB
          Sam Hemelryk
        1. 28430.png
          119 kB

          Activity

          Hide
          samhemelryk Sam Hemelryk added a comment -

          Attached screenshot of the access control page, when you look at it notice that the settings block is missing several branches + root pages (registration etc)

          Show
          samhemelryk Sam Hemelryk added a comment - Attached screenshot of the access control page, when you look at it notice that the settings block is missing several branches + root pages (registration etc)
          Hide
          samhemelryk Sam Hemelryk added a comment -

          Attaching a patch here of the work so that it is not lost for good.

          Show
          samhemelryk Sam Hemelryk added a comment - Attaching a patch here of the work so that it is not lost for good.
          Hide
          samhemelryk Sam Hemelryk added a comment - - edited

          After discussing this with Martin it was decided that it wasn't perhaps suitable for core.

          Show
          samhemelryk Sam Hemelryk added a comment - - edited After discussing this with Martin it was decided that it wasn't perhaps suitable for core.
          Hide
          samhemelryk Sam Hemelryk added a comment -

          Reopening so that people can vote for this if they like it

          Show
          samhemelryk Sam Hemelryk added a comment - Reopening so that people can vote for this if they like it
          Hide
          samhemelryk Sam Hemelryk added a comment -

          Updated branch:

          Diff: https://github.com/samhemelryk/moodle/commit/28430-28
          Pull: git pull git://github.com/samhemelryk/moodle.git 28430-28

          Show
          samhemelryk Sam Hemelryk added a comment - Updated branch: Diff: https://github.com/samhemelryk/moodle/commit/28430-28 Pull: git pull git://github.com/samhemelryk/moodle.git 28430-28

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Participants:
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: