https://github.com/catalyst/moodle-mod_cms
https://github.com/catalyst/moodle-mod_cms
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/catalyst/moodle-mod_cms
- Owner: catalyst
- Created: 2023-05-15T06:34:25.000Z (about 3 years ago)
- Default Branch: MOODLE_401_STABLE
- Last Pushed: 2025-04-15T06:07:34.000Z (about 1 year ago)
- Last Synced: 2025-04-15T07:23:18.238Z (about 1 year ago)
- Language: PHP
- Size: 396 KB
- Stars: 3
- Watchers: 17
- Forks: 1
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom activity content types for Moodle
An activity module for managing custom defined content types which are 'first class' concepts in Moodle. This is to enable course author to think in proper concepts that matter to them and not worry about the rendering of each content type which will be defined centrally.
## Branches ##
The following maps the plugin version to use depending on your Moodle version.
| Moodle version | Branch |
|-------------------| ------------------|
| Moodle 3.9 to 4.0 | MOODLE_39_STABLE |
| Moodle 4.1 to 4.5 | MOODLE_401_STABLE |
## Installation
Step 1: Install the activity module
-----------------------------------
Using git submodule:
```
git submodule add -b MOODLE_401_STABLE git@github.com:catalyst/moodle-mod_cms.git mod/cms
```
Or you can download as a zip from github
https://github.com/catalyst/moodle-mod_cms/archive/refs/heads/main.zip
Extract this into /path/to/moodle/mod/cms
Then run the Moodle upgrade as normal.
https://docs.moodle.org/en/Installing_plugins
## Data sources
Extra detail can be added to CMSs and CMS types via data sources. Within your plugin, add classes that derive from
mod_cms\local\datasource\base, and define a function in lib.php called
<component>_modcms_datasources(), which returns an array of fully qualified class names for these
classes.
# Contributing and Support
Issues and pull requests using github are welcome and encouraged!
https://github.com/catalyst/moodle-mod_cms/issues
If you would like commercial support or would like to sponsor additional improvements to this plugin please contact us:
https://www.catalyst-au.net/contact-us
# Crafted by Catalyst IT
This plugin was developed by Catalyst IT Australia:
https://www.catalyst-au.net