Moodle plugins directory: Custom Lesson | Moodle.org
Custom Lesson
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. :
- userid;e:exclass;q:ipnetwork;a:cidrnet
- 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.
student_A answer_x
student_B answer_y
student_C answer_z
Preferably it would be possible to also put variables in the text of the question, like done in the custom lesson.
I'm interested in something like J.Alves asked about, custom quiz or question. Is there some plugin to help me with that or is this one helpful with that?
Thank you