intro:
Hopefully helpful guide to using your subversion repository to automatically populate your Moodle 'Files'
content:
- Figure out where your documents for the files are stored. You can find this out by looking in your config file for <code>$CFG->dataroot</code>. The config file can be found in your main moodle directory (for debian its /usr/share/moodle)
- Go to your data directory. You'll see a directory for each module you have added files to. The directory is named with the module number.
- If you want to use the files for a module that isn't there yet, upload a placeholder file from the in-moodle file interface, and the directory will be created.
- Check out your code somewhere central, and link from each required module directory to that checked out copy
- Update the checked out copy as and when required, or set up a cron job to do it regularly for you
- You'll then be able to see the files from the file interface and use them with your course materials
Comments
Post new comment