Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Resource module file API migration

From MoodleDocs

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
  • Directory of files
  • Other 3rd party plugins

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