background preloader

Moodle2.0

Facebook Twitter

Alfresco

Overview. Features. Modules and plugins. Moodle 2.0 repositories file system. Flickr Public Configuration. Development:Repository API. Introduction Repository plugin allow Moodle to bring contents into Moodle from external repositories. Prerequisites Before starting coding, it is necessary to know how to use repository administration pages and how to use the file picker. Overview The 3 different parts to write Administration - You can customise the way administrators and users can configure their repositories. History Repository plugins exists from 2.0 Example Creating new repository plugin Create a folder for your plugin in /repository/ e.g. For a more detailed explanation of each of each of the files that have been created here, along with code examples, see Repository plugin files. Administration APIs Fixed settings These are settings that are hard-coded into your repository plugin and can only be updated by changing the plugin code. supported_returntypes() Return any combination of the following values: function supported_returntypes() { return FILE_REFERENCE|FILE_INTERNAL|FILE_EXTERNAL;} supported_filetypes() Optional.

Optional. Modules and plugins. Moodle 2.0 integration - Blog - Mihai Şucan - ROBO Design. Article published on: 14 August 2009, 03:36 Hello everyone! Together with my mentor, Martin Langhoff, we have decided that it's better for me to focus on the Moodle 2.0 integration of PaintWeb. This is because Moodle 1.9 lacks a file API sufficiently advanced to meet the needs of PaintWeb usage. Martin opened a relevant thread in the Moodle forums about storing images as attachements to text fields - it's worth reading to understand why PaintWeb integration is far from trivial.

Moodle 2.0 has the solution to our problem: the new File API. Focusing on Moodle 2.0 integration does not mean we do not want to complete the work started for Moodle 1.9. The Moodle developers are hard at work for the new Moodle 2.0. I completed the integration of PaintWeb into TinyMCE, and I also made the image save action to work quite well. If you want to get the Moodle 2.0 code with PaintWeb, get it from my Git branch. Since my last blog post, I also made important updates for the entire PaintWeb documentation.