Мнения, написани от Joseph Rézeau

Снимка на Core developers Снимка на Plugin developers Снимка на Testers Снимка на Translators

Hi Pegasus,

It would help other moodlers if you stated exactly a) what kind of datetime format you wanted to display (12 hour vs 24 hour clock ? or something else) b) how you achieved this by editing the langconfig.php file (what changes did you make?).

Thanks,

Joseph

Снимка на Core developers Снимка на Plugin developers Снимка на Testers Снимка на Translators
If you go to Categories / Edit Categories, can you create new categories? If you can, then can you create a new category named Default?
That should solve your problem.
Joseph
Attachment image-0000.jpg
Снимка на Core developers Снимка на Plugin developers Снимка на Testers Снимка на Translators

Johannes,

Glad to know you liked the schema. To know exactly what all these elements stand for, I would suggest the following. Create your own glossary, make a note of all the various choices you make for the parameters. Then create one or two categories, create half a dozen entries, trying each time to change the parameters offered. Finally, export your glossary and look at the generated XML file. You can easily deduct from your choice of parameters the value that is required for each field. Also, the schema I posted will help you understand what kind of value is required (numerical, text) and whether the fields are required or optional, etc. But you really have to familiarize yourself with the workings of the Moodle glossary first of all.

Joseph

Example

Glossary editing
XML file
Students can add entries: <xsd:element name="STUDENTCANPOST" type="xsd:int" />
Duplicated entries allowed: <xsd:element name="ALLOWDUPLICATEDENTRIES" type="xsd:int" />
for each entry
<xsd:element maxOccurs="unbounded" name="ENTRY">
Concept: <xsd:element name="CONCEPT" type="xsd:string" />
Definition: <xsd:element name="DEFINITION" type="xsd:string" />
This entry should be automatically linked (tick box = 1; not ticked = 0)
<xsd:element name="USEDYNALINK" type="xsd:int" />
etc.