Reiter
Unterpunkte
Structure of a Template
Didactic templates are described in a XML page and use a specific syntax for all related settings and operations. These template pages can be written with any XML or text editor.
Every didactic template starts with the following two elements:
- didacticTemplateDefinition
This is only the start and final tag of the entire template file. Like all other tags it needs to be opened and closed again. - didacticTemplate
In the current ILIAS implementation this element offers only the type creation. This command is used to create a didactical template according to the definitions in the following nested elements. The number of types might increase in the future. The correct notation of the element is<didacticTemplate type="creation"></didacticTemplate>
The third level of a didactic template definition contains at least five elements:
- title
Contains the title of the template and is a required entry. The title is used for the presentation of the template in ILIAS (creation screen, settings and permission screen of related object type; administration). - description
Contains only an additional description text for the template. This text is also shown in ILIAS (administration and presentation) - info
This element can be used to give administrators some information on how to use this template. The info text is not shown in the repository object where it belongs to. - assignments
In this element you define for which repository object this template is made for. It is a required element. At the time being you can only define one object type, e.g. crs / Course. Open the following tab to see all object types and the according abbrevations.Object Type AbbrevationsUse only the following shortcuts for the related object type. You might know some of them already from the permanent links in ILIAS.TypeShortcutTypeShortcutTypeShortcutBibliographybiblForumfrmQuestion Pool SurveysplBlogblogGlossarygloQuestion Pool TestqplBooking PoolbookGroupgrpSCORM Learning ModulesahsCategorycatGroup LinkgrprSessionsessCategory LinkcatrHTML Learning ModulehtlmStudy ProgrammeprgChatroomchtrILIAS Learning ModulelmSurveyssvyCloudObjectcldIndividual AssessmentiassTesttstContent PagecopaItem GroupitgrWeb FeedfeedCoursecrsLearning SequencelsoWeblinkwebrCourse LinkcrsrMedia PoolmepWikiwikiData CollectiondclMediacastmcstExerciseexcOrganisational UnitorguFilefilePollpollFolderfoldPortfolio Templateprtt - actions
This elements contains all actions and operations that should be executed when applying this specific template. It is also a required element.You find the description of possible actions and operations on the following page.
The following image shows an example of a didactic template. Only the element actions is collapsed.
