Exporting/importing several question categories at once: Difference between revisions
Line 21: | Line 21: | ||
[[{{ns:file}}:diapason_categories_.jpg]] | [[{{ns:file}}:diapason_categories_.jpg]] | ||
3 | 3. Select all categories. Select the top line in the drop-down box. | ||
[[{{ns:file}}:all_categories_.jpg]] | [[{{ns:file}}:all_categories_.jpg]] |
Revision as of 17:15, 4 November 2014
Interface
The new interface, which lets you export several question categories at once.
To activate the export / import multiple categories question, click "Write several".
After clicking "Write several" combobox list elements is replaced by a tree of categories as it shown on the picture.
How to change the interface is described below .
1. Category you want to export, are chosen as you can watch at the image.
2. To select a diapason of categories, select a category which is the first one in the diapason, hold down the Shift key and select the last category in diapason.
3. Select all categories. Select the top line in the drop-down box.
To achieve the desired result, I have to use it.
Change export/import function and file structure
As described in the first paragraph, the file structure is described as follows: a description of the category, followed by this categories questions. An example is described in "Current save in XML file".
If this method is used in Moodle now, then I can also use it.
But if you want to save the connection question and category, I can add a property "parent" to the tag "question". For example, "<question type="cloze" parent="По умолчанию для Главная страница/My first category">".
What variant is better? And in that and in other case, support the existing file format is preserved.