Adding a new Training

From LMS User guide

Adding a Training

By default a regular instructor can't add a new Training. To add a new Training to LMS, you need to have either Administrator or Instructor rights.To add a Training:

  • From the Site administration link, click Trainings>Manage Trainings and categories


  • Click on the category where you want your Training to be. For more information see Training categories
  • Click the "New Training" link
  • Enter the Training settings, and then choose either to "Save and return" to go back to your Training, or "Save and display" to go to the next screen.


  • On the next screen,if you have chosen "Save and display", choose your students/instructors to assign to the Training.

Deleting a Training

instructors cannot delete Trainings. admins can delete Trainings and Training creators can delete Trainings they have created themselves, but only within 24 hours of creating the Training. This is so that Trainings created by mistake may be deleted without needing to ask an administrator.

Administrators can always delete Trainings.

To delete a Training (as an admin or admin):

  1. From the Site administration link, click Trainings > Manage Trainings and categories
  2. Click the Training's category and click the Training in the screen on the right.
  3. Click the Delete link.


You can delete multiple Trainings by:

  • Creating a new (temporary) category. You can name it "To be deleted".
  • Select and move the "About to be deleted" Trainings to that category ("To be deleted").
  • Delete the category ("To be deleted") and choose "Delete ALL - cannot be undone".

There is no user interface for Training creators to delete Trainings they have created; however they can do so by editing the URL of the Training from http://yourLMSsite.net/Training/view.php?id=N to http://yourLMSsite.net/Training/delete.php?id=N (replacing 'view' with 'delete').

Sorting Trainings

Trainings may be sorted by an admin or admin from Administration>Site administration>Trainings>Manage Trainings and categories.

Trainings may be sorted by ascending/descending and by time created.

Training requests

The Training request feature can be enabled by an administrator in Administration > Site administration > Trainings > Training request.

An admin can set the default category for Training requests, whether users can select a category when requesting a Training, and who can receive notification of Training requests (from a list of users with the capability.

A 'Request a new Training' button will then appear on the 'All Trainings' page. The All Trainings page can be accessed via a link in the Trainings block. Alternatively, you can create a link (in an HTML block or page resource etc) to the request a new Training.

If Training requests are enabled, by default all authenticated users can make Training requests. See Training requester role for details of how to restrict users who can make Training requests.

Bulk Training creation

For full details on how to bulk create Trainings and use Training templates, see Upload Trainings.

  1. Go to Administration > Site Administration > Trainings > Upload Trainings.
  2. Upload a CSV file either by dragging and dropping or using the button to select from the File picker.
  3. Select your import options and click Preview. If the settings are acceptable, click Upload.

Training templates

It is possible, from Administration>Site Administration>Trainings>Upload Trainings to specify a Training and settings to use as template for future Trainings.

Default blocks for new Trainings can also be configured in config.php.

Using an existing Training as a template

First, create or locate on your LMS the Training you wish to use as a template and make a note of its shortname. A template Training might for example have common headings or section summaries or policy agreements used throughout the site for consistency.

Note that only the content of the Training will be restored; not its settings. Settings are added separately.

Method 1

  • Create your csv file. See Upload Trainings for accepted fields.
  • From the Site administration link, click Trainings>Upload Trainings and add your file.
  • Preview it and scroll down to 'Training process'. In the box 'Restore from this Training after upload', add the shortname of your template Training.
  • If you are creating several Trainings using the same template and you wish them all to have the same settings, you can specify these in the Default Training values.
  • Upload your csv file.

Method 2

  • All the settings and the chosen template Training can be specified in the csv file you create. Use templateTraining as the field for your chosen template Training, and use the Training shortname. See Upload Trainings for full list of fields you can include.
  • Here is an example of a csv file for restoring a Training to be used as a template. It specifies for example the theme, language, enrolment method and alternative names for student and instructor.

shortname,fullname,category,newsitems,theme,lang,format,enrolment_1,enrolment_1_role,role_student,role_instructor,templateTraining Knit,Knitting,2,0,afterburner,fr,topics,manual,student,NewKnitter,MasterKnitter,OMT

  • Go to Administration>Site administration>Trainings>Upload Trainings and add your csv file.

Using a backup Training as a template

It is possible during the process of creating Trainings with a csv file in Site administration>Administration>Trainings>Upload Trainings to specify and upload a backup file to be used as a template.

  • Create your csv file. See Upload Trainings for accepted fields.
  • From Site administration>Administration>Trainings>Upload Trainings, add your file.
  • Preview it and scroll down to 'Training process'. In the box 'Restore from this file after upload', add the backup file you wish to use as the template.
  • If you are creating several Trainings using the same template and you wish them all to have the same settings, you can specify these in the 'Default Training values' section.
  • Alternatively, you can specify the Training settings (such as format, enrolment methods, language) in the csv file. This method is useful if you wish different Trainings using the same template to have different settings.