Moodle plugins directory: Course File Area | Moodle.org
Course File Area
Repositories ::: repository_coursefilearea
Maintained by Tim Williams
Part of set Course files.
Course file storage repository for Moodle 2, which replicates the Moodle 1.x course files functionality.
Latest release:
230 sites
17 downloads
8 fans
Current versions available: 3
This repository plugin provides a course file storage area within Moodle 2+ which is similar in function to the Course Files functionality in Moodle 1.x, using the same numbered directories within the moodle data directory.
This repository is capable of operating as both an internal and external files repository,
although the internal capability is disabled by default. If the internal files capability
is enabled on a normal Moodle system then any files used will be copied into the new Moodle 2+ file structure.
You will also need to install the "Repository File Manager" on your Moodle to make use of this plugin.
This repository is capable of operating as both an internal and external files repository,
although the internal capability is disabled by default. If the internal files capability
is enabled on a normal Moodle system then any files used will be copied into the new Moodle 2+ file structure.
You will also need to install the "Repository File Manager" on your Moodle to make use of this plugin.
Useful links
Contributors
Tim Williams (Lead maintainer)
Please login to view contributors details and/or to contact them
We installed in our campus the latest version of your plugin (2012062802) on moodle 2.2.3+ (2011120503.02) but we had to modify it in order to make ir work properly.
In our case the problem is the oposite of what Tõnis Tartes describes, on function get_course of coursefilearea/lib.php, the condition ($CFG->version > 2011120500) is true so the current course is get from $USER->currentcourseaccess[0], so it return always the same course ("the first").
So for a teacher with several courses it shows the same files across all his courses.
Using the old way (from global $COURSE) solves the problem.
Maybe the condition is wrong? Any ideas?
I hope I made myself clear.
By the way, do you have a git repo we can clone? Can you publish you plugin on github?
Thanks,
JP
Strict Standards: Declaration of repository_coursefilearea_abs::type_config_form() should be compatible with that of repository::type_config_form() in /moodle/repository/coursefilearea/lib23.php on line 8 Strict Standards: Declaration of repository_coursefilearea::get_listing() should be compatible with that of repository::get_listing() in /moodle/repository/coursefilearea/lib.php on line 38
Any idea?
Regards Urs
There isn't currently a git/github version (I'm a very committed SVN user), although this may happen at some point it's not a priority at the moment.
Urs: Is this preventing any functions of the repo from working? An incompatible change was made to the Repository API in Moodle 2.3, I suspect this warning is a result of the technique I was forced to use in order to support both the pre Moodle 2.3 and Moodle 2.3 versions of the Repository API within the same codebase. That said, I'll put this on my to-do list to see if I can cure the warning, it's possible there has been a further change in Moodle 2.3 which has triggered this warning.
The problem with this system is it is difficult for course administrators since they do not always know the paths to the files.
Is it possible for someone to produce a repository system that allows the files to not be imported into the Moodle system as such in order that when a file is updated in the repository, it is also updated in Moodle live on-line. A sort of Dynamic Repository if you like.
many thanks,
Paul
I would like to add backup, but unfortunately the moodle 2 backup system can't act on the contents of an external repository, so getting this to tie into the regular backup system is impossible (I've tried...). The reccomended backup method is to use the zip function of the Repository file manager to save or restore the content of any give course area.
Bei: That might be down to the $COURSE problems mentioned earlier in this thread, I've had a similar problem when testing against Moodle 2.4. This will be fixed in the next release, which I should be uploading very soon.
However, when i embed this image into an html block using img src it will not display. Has anyone run into this or know how i can fix it? Thanks.
How delete or uninstall this repository?
Tanks