Course element : Course Classifier: Difference between revisions
| Line 39: | Line 39: | ||
* Click on th "Classifiers" tab. This allows to define our classifiers. | * Click on th "Classifiers" tab. This allows to define our classifiers. | ||
* Add the LEVEL0, LEVEL1 up to LEVEL2 classifiers (using those exact names in classifier codes, as the Course Classifier customlabel type relies precisely on those labels). | * Add the LEVEL0, LEVEL1 up to LEVEL2 classifiers (using those exact names in classifier codes, as the Course Classifier customlabel type relies precisely on those labels). | ||
* Take care : | |||
** Using LEVEL0, LEVEL1 and LEVEL2 labels as classifier codes, if you do not need the third level, just define LEVEL0 and LEVEL1, or just LEVEL0 for one level classifying list. | |||
** Choose "classifier" and NOT "filter" when creating the element. | |||
3. Adding value sets | 3. Adding value sets | ||
* Now you can click on the ''Classification values'' and choose the classifiers you just created in the top scrolling list | |||
or | |||
* Click on the classifier name in the classifier definition view | |||
* Add the values for a level. Note that you need add ALL the values that will be used by any branch of your classification tree at this level. See the following example if not clear at this moment. | |||
4. Reducing the irrelevant combinations of classification | |||
* Finally click on the ''Classification Constraints'' tab | |||
===Internal Variables=== | ===Internal Variables=== | ||
Revision as of 12:46, 1 March 2015
The Course Classifier is a special tabular element that is involved in a wider strategy for cataloging course into a global course index. At first glance, you may just use this element to mark the classification, without any other goal.
MyLearningFactory Lab has further developement in progress to reuse the indexation stored into this element to build a front site, multi-location course catalog for big public training organisations.
User side

Settings form

Integrator Corner
How to define classification lists and levels
The Coure Classifier relies on classification reference data that are stored into the Customlabel global settings. At site level, Customlabel allows to define and store some filtering and classifiers. Filtering lists can b used as source in subtypes uing the datasource field type. An example of this is given by the implemetation of the worktodo customlabel type.
For coure classifying purpose, you will first need to feed your classifiers in the global setings.
1. Browse to Administration > Plugins > Course Elements central settings, then click on the "Classification" link in the settings screen.
The classification settings panel has three main tabs, in which you can define :
- Filters and categorizers lists
- Value sets for above (either filter or categorier)
- Constraints définition for categorizers
Constraints are used to build the classification tree, selecting compatible combination of categorizing values. You may just need understand that categorizers and filters are "flat lists" of key->value pairs, that are thought rather as "tag lists". Each list will need to assemble all possible values of a tree organized classifier, than inadequate combinations of values between levels will be eliminated using constraints. Let's read the following steps to go ahead in the model.
2. Defining categorizers
- Click on th "Classifiers" tab. This allows to define our classifiers.
- Add the LEVEL0, LEVEL1 up to LEVEL2 classifiers (using those exact names in classifier codes, as the Course Classifier customlabel type relies precisely on those labels).
- Take care :
- Using LEVEL0, LEVEL1 and LEVEL2 labels as classifier codes, if you do not need the third level, just define LEVEL0 and LEVEL1, or just LEVEL0 for one level classifying list.
- Choose "classifier" and NOT "filter" when creating the element.
3. Adding value sets
- Now you can click on the Classification values and choose the classifiers you just created in the top scrolling list
or
- Click on the classifier name in the classifier definition view
- Add the values for a level. Note that you need add ALL the values that will be used by any branch of your classification tree at this level. See the following example if not clear at this moment.
4. Reducing the irrelevant combinations of classification
- Finally click on the Classification Constraints tab