This local module provides a web service which returns a given user's courses based on username. It returns the courses sorted by access time, with the most recently-accessed course at the top. You may also configure it to return term information. The standard use case is to create deep links to courses in one Moodle installation in another Moodle installation.
To use this service you will need to create the following:
- A web service on a Moodle installation
- A user with sufficient permissions to use the web service
- A token for that user
See Using web services in the Moodle documentation for information about creating and enabling web services. The user will need the following capabilities in addition to whichever protocol you enable:
moodle/course:view
moodle/course:viewhiddencourses
moodle/course:viewparticipants
moodle/user:viewdetails
There is a setting for extracting a term code from the course idnumber
using a regular expression. For example, the regular expression /[0-9]+\.([0-9]+)/
would extract "201610" from "999999.201610".
- Moodle 4.2 (build 2023012600.00 or later)
Copy the remote_courses folder into your /local directory and visit your Admin Notification page to complete the installation.
Charles Fulton ([email protected])