Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: IMS content package.

IMS content package: Difference between revisions

From MoodleDocs
No edit summary
Line 11: Line 11:


# Find repository_config.php in ''moodle/mod/resource/type/ims'' and change <code>$CFG->repositoryactivate = false;</code> to <code>$CFG->repositoryactivate = true</code>
# Find repository_config.php in ''moodle/mod/resource/type/ims'' and change <code>$CFG->repositoryactivate = false;</code> to <code>$CFG->repositoryactivate = true</code>
# Create a folder named ''ims_repository'' in the webroot
# Create a folder named ''ims_repository'' in the webroot or somewhere underneath your webroot.
# Change <code>$CFG->repository = "C:/public/www/html/ims_repository";</code> to point to this folder on your file system
# Change <code>$CFG->repository = "C:/public/www/html/ims_repository";</code> to point to this folder on your file system
# If your ims_repository is not located directly in your webroot, edit <code>$CFG->repositorywebroot = "/ims_repository";</code> to point to the location of your repository.


Content packages should be extracted to the folder ''ims_repository''.
Content packages should be extracted to the folder ''ims_repository''.

Revision as of 17:07, 4 March 2009

Template:Moodle 1.6

IMS is a body which helps define technical standards for various things, including e-learning material. The IMS Content Packaging specification makes it possible to store chunks of material in a standard format which can be re-used in different systems, without having to convert the material into new formats.

The IMS content package in Moodle 1.6 enables such content packages to be uploaded and included in Moodle courses. There are various options for displaying content in a pop-up window, with a navigation menu or buttons etc. In addition, the resource type supports an optional repository, enabling content packages to be shared between courses.

IMS content package repository

The IMS content package repository enables access to a repository of IMS and SCORM packages within Moodle. The repository is disabled by default. It may be enabled as follows:

  1. Find repository_config.php in moodle/mod/resource/type/ims and change $CFG->repositoryactivate = false; to $CFG->repositoryactivate = true
  2. Create a folder named ims_repository in the webroot or somewhere underneath your webroot.
  3. Change $CFG->repository = "C:/public/www/html/ims_repository"; to point to this folder on your file system
  4. If your ims_repository is not located directly in your webroot, edit $CFG->repositorywebroot = "/ims_repository"; to point to the location of your repository.

Content packages should be extracted to the folder ims_repository.

See also

Using Moodle forum discussions: