Loading...
 
Skip to main content

History: Learning_Center_Course_template

Source of version: 4 (current)

Copy to clipboard
            This is the template for the Courses created in this Learning Center.
{CODE(caption=>YAML)}
objects:
 -
  type: category
  ref: learning_center_course_root
  data:
   name: $profilerequest:learning_center_course_name$Unnamed Course for this Learning Center$
   parent: $profilerequest:base_category$0$
 -
  type: perspective
  ref: perspective
  data:
   name: $profilerequest:learning_center_name$Unnamed Course for this Learning Center$
   preferences:
    category_jail: $learning_center_course_root
{CODE}

!Object Creation (YAML)

!!Wiki Pages
{CODE(caption=>YAML,wrap="1")}
objects:
  -
    type: wiki_page
    ref: Learning_Center_HomePage_include
    data:
      name: HomePage
      description: Home
      lang: en
      mode: create_or_update
      content: wikicontent:Learning_Center_HomePage
  -
    type: wiki_page
    ref: Learning_Center_Registered_HomePage_include
    data:
      name: Registered HomePage
      description: Registered Members HomePage
      lang: en
      mode: create_or_update
      content: wikicontent:Learning_Center_Registered_HomePage
  -
    type: wiki_page
    ref: Learning_Center_instructions_include
    data:
      name: Instructions
      description: Profile Instructions
      lang: en
      mode: create_or_update
      content: wikicontent:Learning_Center_Instructions
  -
    type: wiki_page
    ref: Learning_Center_about_include
    data:
      name: Community
      description: About Community
      lang: en
      mode: create_or_update
      content: wikicontent:Small_Organization_Web_Presence_services_include
  -
    type: wiki_page
    ref: collaborative_community_help_include
    data:
      name: Wiki Help
      description: Wiki Syntax Help
      lang: en
      mode: create_or_update
      content: wikicontent:Simple_Sample_Page

{CODE}

!!File Gallery
{CODE(caption=>YAML)}
objects:
 -
  type: file_gallery
  ref: General_File_Gallery
  data:
   name: General
   description: Images & files
   owner: admin
   archives: 0
   flags: [ public, visible, lockable ]
   column: [ icon, name, created, creator, files ]
{CODE}

!!Forum
{CODE(caption=>YAML)}
objects:
 -
  type: forum
  ref: General_Forum
  data:
   name: Discussion forum
   attachments: everyone
   enable: [ topic_smiley ]
   list: [ topic_reads ]
{CODE}