lafayettecollege / moodle-local_remote_courses
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.
Package info
github.com/LafColITS/moodle-local_remote_courses
Type:moodle-local
pkg:composer/lafayettecollege/moodle-local_remote_courses
Requires
README
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.
Configuration
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:viewmoodle/course:viewhiddencoursesmoodle/course:viewparticipantsmoodle/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".
Requirements
- Moodle 4.2 (build 2023012600.00 or later)
Installation
Copy the remote_courses folder into your /local directory and visit your Admin Notification page to complete the installation.
Author
Charles Fulton (fultonc@lafayette.edu)