Course custom fields

On this page:

Description

Course custom fields allow you to add extra information about a course, such as skill level or hours of effort. Check the Moodle documentation to learn how to use course custom fields.

Moodle documentation: Course custom fields.

Theme custom fields

In the New Learning theme, you can use additional dedicated custom fields to add extra course information that will be displayed on course pages. The table below shows the theme’s custom fields.

Short name Type Value Description
mb2badge Short text Text Add a course badge .
mb2button Short text URL Add an additional button to the course enrolment page, e.g., "Request a quote" .
mb2image Text area HTML Add a background image .
mb2intro Text area Text Enter custom course introduction text .
mb2link Short text URL Set a custom link for the "Enrol now" button on the course enrolment page.
mb2requirements Text area HTML Enter course requirements on separate lines .
mb2section Text area HTML Add custom sections, for example, course syllabus or certificate information . You can add up to 5 custom sections.
mb2section2
mb2section3
mb2section4
mb2section5
mb2skills Text area HTML Enter course skills on separate lines .
mb2video Short text Text Add a web video URL .
mb2video_local Text area HTML Add a local video file .

Add a custom field

To add a custom field:

  1. Go to: Site administration > Courses > Course custom fields.
  2. Click the "Add a new custom field" button and select the field type .
  3. Then go to the course and edit the course settings.
  4. At the bottom of the page, you can set a custom field value.

Set a custom field icon

To set a custom field icon:

  1. Go to: Theme settings > Courses > Course.
  2. Set an icon using the "Course custom field icons" area.

For each field, you can set an icon by using the field’s short name and icon name separated by the pipe (|) character, as shown below:

mb2section|ri-award-line
level|ri-stairs-line
certificate|ri-award-line