Table of Contents
Setting up the template
Now it is time to build your own library, activate every template you like for it to be in the library. In the example below, there are 7 templates activated.
The next step is to go to the "Content Template" and to edit static/templates/init.js
Make sure that the template names have correct names.
The characters should match the names of the templates.
In another case, a template with mismatching will not be visible in the Library.
For example, the following names are not the same:
Spaces are also important.
It can be seen that 7 "quiz-question-titles.js" are in the Library. These files contain the names of the questions. If the number of questions is incorrect, it can cause unreliable statistics in a campaign.
You can only experimentally determine which file belongs to which template.
The easiest way to do this is: execute step 4 (that is, delete all templates from the library)
- Go to the "Edit" tab and click the "Save" button
- Go to the "Content Template" tab, delete all files "quiz-question-titles.js" and click the "Save" button (Note, that those quiz-quiestion-titles files would be there only in case the Quiz option is enabled for the template in the main edit setting. More details can be found here).
- Go to the "Library" tab, add one template to the library, go to the "Edit" tab and click "Save"
- Go to the "Content Template" tab and edit the fresh file "quiz-question-titles.js". It will have a path "static/library/1/static/quiz-question-titles.js".
- Repeat steps 1 - 4 for any other templates you want to add to the library. The path of the next "quiz-question-titles.js" will contain "2", then "3" and so on.
Creating a campaign
Next, follow the instructions on the screen, fill in the required fields. Using the wizard will help to avoid gross mistakes.
There is no need for additional settings if you used the wizard. However, there is the possibility of additional verification of the library configuration. See the following points:
For example, the image above shows the files related to the 2nd template. You can see what this template is by opening the index.html file.
Thus, if you want to edit the questions of the 2nd template, you need to open the 2nd file "quiz-question-titles.js":
Check all of the "quiz-question-titles.js" files! It should have questions of the appropriate templates. If something is wrong, it is possible to fix these files right here.
In some time after the start of the campaign, statistics should appear. To check it, go to the Campaign → Statistics → Recipients and click on a user.
It is possible to see that John has completed 2 trainings out of 7. Click on the training results to see the details.