diff --git a/lang/en_utf8/help/quiz/formatgift.html b/lang/en_utf8/help/quiz/formatgift.html index 4669d35e3e7..f4ce96775c8 100644 --- a/lang/en_utf8/help/quiz/formatgift.html +++ b/lang/en_utf8/help/quiz/formatgift.html @@ -214,6 +214,29 @@ }

When the question is processed, the backslash is removed and is not saved in Moodle.

+

Specifying Categories

+ +

It is possible to change the category into which the questions are added within the GIFT file. +You can change the category as many times as you wish within the file. All questions after the modifier +up to the next modifier or the end of the file will be added to the specified category. Up to the first +category modifier the category specified on the import screen will be used. Note that for this to work +the from file: box must be ticked on the import screen.

+ +

To include a category modifier include a line like this: + +

+$CATEGORY: tom/dick/harry
+
+ +or simply + +
+$CATEGORY: mycategory
+
+ +...the first example specifies a path of nested categories. In this cae the questions will go into harry. The +categories are created if they do not exist.

+

Other Options:
Short Answer questions can be made case sensitive by changing "0" to "1" in the following line:
$question->usecase = 0; // Ignore case

diff --git a/lang/en_utf8/help/quiz/importcategory.html b/lang/en_utf8/help/quiz/importcategory.html new file mode 100644 index 00000000000..542be7a8924 --- /dev/null +++ b/lang/en_utf8/help/quiz/importcategory.html @@ -0,0 +1,14 @@ +

Import Category

+ +

The Category: drop-down is used to select the +category into which the imported questions +will go.

+ +

Some import formats (GIFT and XML Format) permit the category +to be specified inside the import file. In order for this to +happen the from file box must be ticked. If it is not, +the questions will go into the selected category regardless +of any instructions in the file.

+ +

When categories are specified inside an import file, if they +do not exist they will be created.