Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Resource module file API migration.

Development:Resource module file API migration

From MoodleDocs

Template:Moodle 2.0

Current problems

  • text and html resource types separate
  • embedded images and files in general are stored in course files without appropriate access control
  • local files and Internet links mixed
  • is IMS plug-in maintained?
  • repository plug-in obsoleted

Types of resources

  • Resource page - using new editor element
  • External resource link - some file stored elsewhere
  • Single uploaded images and files
  • Packages and uploaded html files
  • Other 3rd party plugis

Upgrade problems

  • Migration of files used by resources to resource file areas (linked files mainly)
  • Should we split resource into multiple modules and delegate more work to Repositories?
  • Current repository/file api does not have suitable UI for selection of main/index file in case of packages and uploaded html files.

See also