User Tools

Site Tools


training_library

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
training_library [2018/12/18 15:38]
lucy
training_library [2019/04/19 17:02] (current)
lucy
Line 1: Line 1:
 ====== Training Library ====== ====== Training Library ======
 +
 +===== Introduction =====
  
 The training library should give employees the opportunity to download their training content from an overview page called "​training library"​. The large selection of regular e-learning templates in LUCY serves as learning input. The overview page can be sorted by certain topics (video, quiz, test etc.). To use the training library, you have to create the references to the other LUCY templates first. The training library should give employees the opportunity to download their training content from an overview page called "​training library"​. The large selection of regular e-learning templates in LUCY serves as learning input. The overview page can be sorted by certain topics (video, quiz, test etc.). To use the training library, you have to create the references to the other LUCY templates first.
 +
 +
 +===== Creating references to courses within the library =====
  
 **Instruction (Items 1-4 should be performed inside the campaign)** **Instruction (Items 1-4 should be performed inside the campaign)**
Line 73: Line 78:
 Please note, that these links are not available in CSS and Javascript files. Please note, that these links are not available in CSS and Javascript files.
  
-==== Customization of navigation menu ====+ 
 +===== Customization of navigation menu =====
  
 You can customize the navigation in the training library, for example, add a new entry "​Security"​ to the menu: \\ You can customize the navigation in the training library, for example, add a new entry "​Security"​ to the menu: \\
Line 109: Line 115:
  
 {{ training_library_result.png?​700 }} {{ training_library_result.png?​700 }}
 +
 +
 +===== Tracking which course gets started within the library =====
 +
 +Please add a tracking event into a e-learning course used within the template. To send a LUCY an event that can determine which course was loaded, this function is used:
 +
 +**lucyDispatchEvent(str);​**
 +
 +"​str"​ can be any string. Example:
 +
 +**lucyDispatchEvent("​Course:​ This is your course name"​);​** ​
 +
 +An  event  can  be  sent at any time. It can be loaded automatically when the user starts the course or you could associate such an event with the click of a button. ​
 +
 +**Button example:​** ​
 +In order to associate an event with a button, you can do this within the HTML code:
 +
 +Button Example 1
 +  <button onclick="​lucyDispatchEvent('​some string'​)">​ Some button </​button>​
 +
 +Button Example 2:
 +  <button onclick="​buttonfunc()">​
 +  Some button
 +  </​button>​
 +  <​script>​
 +  function buttonfunc()
 +  {
 +  lucyDispatchEvent('​some string'​);​
 +  }
 +  </​script>​
 +  ​
 +**Automatic Start Example** (in this example an notification about the course name that gets started is sent automatically to LUCY upon opening of the first page). Please insert this script into the index.html page (can be in header or body. It is important to insert it before the body close tag (/​body>​).
 +
 +  <​script>​
 +  $(function () {
 +  lucyDispatchEvent("​Course:​ your_course_name started"​);​ });
 +  </​script>​
 +
 +jQuery requirements:​ In most templates, jQuery is already connected.
 +
 +If  a  line  like the examples below is already in the index.html file, then nothing else needs to be done. Look for:
 +
 +  <script src="​%static%/​jquery-1.11.3.min.js"></​script>​
 +  ​
 +or
 +
 +  <script src="​https://​code.jquery.com/​jquery-1.12.4.min.js"></​script>​
 +  ​
 +
 +If you dont have jQuery in the template, you can use those versions:  ​
 +
 +  * jquery-1.11.3.min.js
 +  * jquery.js ​
 +  * jquery-2.4.min.js
 +
 +All those version can be downloaded from here:
 +https://​jquery.com/​download/​
 +
 +
 +**Statistics in Training Library**
 +
 +Statistics of visits and completed quizzes in the Training Library can be found in Campaign>​Statistics>​Awareness training:
 +
 +{{:​train_lib_1.png?​600|}}
 +
 +You can check the statistics for all quizzes or for an individual quiz:
 +
 +{{:​train_lib_2.png?​600|}}
 +
 +{{:​train_lib_3.png?​600|}}
 +
training_library.1545143919.txt.gz · Last modified: 2018/12/18 15:38 by lucy