Custom Lesson works exactly as a standard Lesson, except that all the content of the lesson can be filled with variable fields between square brackets, eg. :
Which is the length of the network for an [e:exclass] address?
Then, the individual data are imported in a new table, from a CSV file with students as rows and fields as columns, eg. :
- 4;Classe B;172.16.0.0;16
- 5;Classe C;192.168.1.0;24
The first column must be either userid or ursername. The following columns are meant to be interpolated in the custom lesson contents (titles, questions, answers...).
A more detailed documentation is available in the package and on github (see below).
From an internal point of view, customlesson uses the same eight tables as lesson, duplicated as customlesson_*, plus one new : customlesson_keys. This table is populated from the CSV files and is used as a source for the interpolation process.