Table des matières

Tool sync: Course creation file format (2.x and 3.x)

Introduction

Field Value
category Forward?Slash-Delimited Category “Path” String (new categories are created as necessary) OR Integer Database Category ID
cost String(10)
format String('social','topics','weeks', …)
fullname* String(254)
groupmode 0=NOGROUPS,1=SEPARATEGROUPS,2=VISIBLEGROUPS
groupmodeforce 0=FALSE,1=TRUE
guest 0=NO,1=YES
self 0=NO, 1=YES
idnumber String(100)
lang String(10) as lowercase 2 letters lang code
maxbytes Integer(Site Max)
newsitems Integer(10)
shortname* String(15)
showgrades 0=FALSE,1=TRUE
showreports 0=FALSE,1=TRUE
sortorder Integer
startdate Timestamp
summary Text
teacher1,2,…?_account Search String that returns only one User Account (as used in Administration » Edit user accounts OR Integer Database User ID
teacher1,2,…?_role String(40)
template String
theme String(50)
timecreated String Date Literal
timemodified String Date Literal
topic0 main heading?, topic1 … topic52 topic/week headings? Text
visible 0=FALSE,1=TRUE
visibleold 0=FALSE, 1=TRUE
legacyfiles 0=FALSE, 1=TRUE

Mandatory fields

In general:

Course category

Using templates or backups to load content at creation

The course can be created from a template. This template designates either:


Back to the component index - Back to catalogue