Skip to content

Moodle plugin which allows managers to set all courses in a category (including subcategories) to either hidden from, or visible to, students

Notifications You must be signed in to change notification settings

LafColITS/moodle-tool_hidecourses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hide courses

Moodle Plugin CI

This admin tool allows managers to set all courses in a category (including subcategories) to either hidden from, or visible to, students. The intended use case is installations where all categories are already hidden by default and course visibility is the prime method for restricting access. At Lafayette, we combine this with overrides to moodle/course:viewhiddencourses at the category level to restict access by teachers to old courses.

Requirements

  • Moodle 4.1 (build 2022112800 or later)

Installation

Copy the hidecourses folder into your /admin/tool directory and visit your Admin Notification page to complete the installation.

Usage

The tool adds two links to the category navigation block, "Hide all courses" and "Show all courses." Each will take the user to a page describing what will happen and requesting confirmation. On confirmation, Moodle will create an "adhoc task" to change all the settings in the background. This requires the cron be enabled. Each setting change will be logged in the standard Moodle log store.

If you're using Boost or a similar theme, you may need to access /course/index.php directly, navigate to the desired category, then click the edit cog at top right to reach the links.

Configuration

The tool has no options but does require, as mentioned above, that cron be running.

Author

Charles Fulton ([email protected])

About

Moodle plugin which allows managers to set all courses in a category (including subcategories) to either hidden from, or visible to, students

Resources

Stars

Watchers

Forks

Packages

No packages published