Customize Course Builder

Course Builder custom features are usually implemented as modules or extensions that you drop into the following Course Builder directories:

  • extensions/tags
  • views/
  • modules/

Before you create a module or extension, try to search the documentation to see if the feature is already available. For example, you may want to embed a Google Doc into your Lesson but that feature already exists natively in Course Builder.

Prepare your environment

Before making changes to the code, you should:

  • Do your development on a development server. Do not make changes directly to a live instance.
  • Setup source control. For example, you can use git.
  • Document the changes you made.

These steps will also help you when you upgrade to a new version of Course Builder by making the transition smoother.

Modify and extend the code

You modify and extend the code in the Course Builder installation on a development server, not through the browser after deployment. There are two ways to customize the Course Builder code:

  • Components - Adding a new item that shows up as a component type that you can add to the lesson body.
  • Modules - Add new, self-contained code (a “module”) that encapsulates a feature and can be integrated into Course Builder.