Skip to content

Course Mods

Use Course Mods to add your own JavaScript to a course after export. You can edit the included mods/mods.js file in SCORM 1.2, SCORM 2004, xAPI, cmi5, and HTML exports.

  1. Export your course and extract the ZIP.
  2. Open mods/mods.js in a text editor and add your JavaScript. Keep the filename and folder as they are.
  3. Select the extracted files and folders and compress them into a new ZIP. When you open the ZIP, you should see index.html right away. For SCORM, imsmanifest.xml should be beside it.
  4. Upload the new ZIP to your LMS or deploy the edited files to your host. Test the course where learners will use it.

Your JavaScript runs when someone opens the edited export. Use that copy to test your changes. If you import the ZIP back into Slate, keep a copy of your Mods file to reuse on future exports.

Custom JavaScript can change course behaviour, accessibility, and LMS reporting. Slate does not support issues caused by custom Mods.