LOM Repository v2 - Upgrading from previous versions

Before taking any steps on upgrading your repository, we strongly encourage you to backup your current content template, content type and vocabularies. We also provide the old code in the download section in case something goes wrong with the upgrade.

To update from the old version of the repository, please do the following steps:

Upgrade the vocabularies

Remove the old vocabularies (except for the LOM LivingTaxonomy and LOM Keywords) and re-import the following vocabularies:

Make sure not to reimport the LOM Keywords vocabulary because this will overwrite the keywords for your existing records.

Update your content type

  1. Remove the old Learning Resource content type at Administer -> Content Management -> Content Types
  2. Re-create the content type by copying the contents of /content_type/learning_resource.content_type.txt from the download package in the Administer -> Content Management -> Content Types -> Import

Update the content template

  1. Go to Administer -> Content Management -> Content Templates and edit the existing content template for Learning Repository
  2. Replace the content of the body part with the content of /content_template/lom_body.txt of the download package; the teaser does not need altering
  3. Login to your system over ftp or ssh and insert the following three files from the /includes folder in the download package into your Drupal installation /includes folder: create_lom_elements.inc, lom_ims_export.inc and lom_ieee_export.inc lom_ieee_export.inc

Update the page template

  1. Login to your system over ftp or ssh
  2. In your theme folder, replace the lom_record.tpl.php with lom_record.tpl.php.txt from the /theme folder in the download package (remove the txt extension from the file name)

Inhoud syndiceren