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

block_course_list option to be hidden to guests

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • None
    • Blocks
    • None
    • MOODLE_17_STABLE

    Description

      I've created a patch which adds a new option to allow the course list to be hidden to guests. The default behaviour of it being shown is kept, but this adds the ability to hide it to guests.

      I am using isguest() to test for a guest - not sure if I should be using something different with the new roles system. I basically have done the same as is done for $CFG->block_course_list_adminview - and I cleared up the indenting on config_global.html as it was difficult to see what the select code was doing.

      This adds a really useful option so that students get their 'my courses' when they login, but don't show guests all the courses available.

      Attachments

        Issue Links

          Activity

            People

              dougiamas Martin Dougiamas
              poltawski Dan Poltawski
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: