|
[
Permalink
| « Hide
]
Nicolas Connault added a comment - 17/Nov/08 03:40 PM
Attached a proposed refactoring of repo code.
the latest commit http://cvs.moodle.org/moodle/repository/mahara/repository.class.php?r1=1.5&r2=1.6
does not seem correct, there is probably problem with $PAGE not pixpath, in any case pixpath is mandatory, you should not work around it I talked to Time about this issue before, the problem is, in web service, there is no moodle_page existed (exchanging json string only), do we really need to setup a useless $PAGE object just in order to use pixpath?
MrCUTE Jr. is a simple version of a shared url/file repository that currently works for moodle 1.9.5 to provide a quick solution for shared resource needs. It provides a search box to find the shared resources you are looking for based on kewords and other data associated with the shared resource when it was entered into the MrCUTE Jr. repository.
I flagged this as "duplicates" the repository api, based on it being the nearest match; but it doesn't do what the repository api does - rather provides a function that the repository api will enable, more fully, in the future. I hope this will solve some simpler needs for Moodle 1.9.5 users in the meantime. Feedback is welcomed, please! Maybe I'm missing something, but according to the specs found here:
http://docs.moodle.org/en/Development:Repository_API For every file I should be able to choose to copy the file into moodle, or link to it externally. I don't see that option anywhere... Nick, see MDL-20602. It's not in CVS yet.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||