mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Added or improved help re. category switching in import files
This commit is contained in:
parent
6575b04f25
commit
953c76d621
@ -222,7 +222,7 @@ up to the next modifier or the end of the file will be added to the specified ca
|
||||
category modifier the category specified on the import screen will be used. Note that for this to work
|
||||
the <b>from file:</b> box must be ticked on the import screen.</p>
|
||||
|
||||
<p>To include a category modifier include a line like this:
|
||||
<p>To include a category modifier include a line like this (with a blank line before and after):
|
||||
|
||||
<pre>
|
||||
$CATEGORY: tom/dick/harry
|
||||
|
19
lang/en_utf8/help/quiz/formatxml.html
Normal file
19
lang/en_utf8/help/quiz/formatxml.html
Normal file
@ -0,0 +1,19 @@
|
||||
<p align="center"><b>Importing "Moodle XML" format files</b></p>
|
||||
|
||||
<h3>Category Switching</h3>
|
||||
<p>You can insert a special dummy question into the XML file to specify
|
||||
the category path into which the following questions will be inserted.
|
||||
If the category or categories do not exist they will be created. Note that
|
||||
the <b>from file:</b> option must be ticked on the option page or this code
|
||||
will be ignored completely. You can switch categories in the xml file as often as you
|
||||
wish.</p>
|
||||
|
||||
<p>An example of the format is as follows:</p>
|
||||
|
||||
<pre>
|
||||
<question type="category">
|
||||
<category>
|
||||
tom/dick/harry
|
||||
</category>
|
||||
</question>
|
||||
</pre>
|
@ -166,6 +166,7 @@ exported in the same format. The format is straightforward and is best demonstra
|
||||
by exporting a category in the Moodle XML format. The XML format is capabable of
|
||||
importing image files.
|
||||
</p>
|
||||
<p align="right"><a href="help.php?file=formatxml.html&module=quiz">More info about the "Moodle XML" format</a></p>
|
||||
</ul>
|
||||
|
||||
<p>More formats are yet to come, including WebCT, IMS QTI and whatever else
|
||||
|
Loading…
x
Reference in New Issue
Block a user