In the docs http://docs.moodle.org/en/Site_files you can find that all files in the site files are available and that you can't browse to them from the course files pages.
What I would like to know are 2 things:
- What is the best way to link to Site Files?
- Is there anyway to make things in the Site Files easier for teachers to find?
If I find the file in Site Files I can right click and copy its URL which looks similar to this:
If I put in that whole URL it should work as long as I don't change anything related on the original site. It would probably work even anywhere else (unless some java security setting were to stop it if I were to come from another domain.).
But if I were to rename my moodle folder /moodle1/ to /vle1/ it would stop working everywhere. Or if someone had a working copy of the resource on another moodle or another server and the old Moodle1 goes away, it will stop working.
What I wonder is HOW are backuped site files linked? Will they be placed in the course files folder or the site files folder. If I restore on another Moodle in another domain, will the URL links be remade so they work toward the new copies of these files, even if the URL was wrtten avbsolute?
If I make the links "/moodle1/ etc" I would expect the link to work on another site with moodle in a folder /moodle1/, but I don't know if Moodle might rewrite that to ITS root, rather than the domain root.
My Best Bet: If I were in course 4 and made a link "../1/ etc", I would think that would find its way to site files. I'm assuming/hoping that site files are always in /1/. This kind of link ought to be able to survive a restore in another moodle even on another domain, if Site Files are restored to the same location. What happens if there is already something there with the same name?
2. Making things in the Site Files easier for teachers to find
Can a teacher in a course put in a shortcut to the site files in his course files folder so (s)he can more easily find things there?
Any good policies about arranging things in the Site Files folder?
If one has .js or java .class files there, can editing teachers put them into page code? (Perhaps only with "trusted content" allowed and belonging to such a role). ( I assume that there are more elegant ways of doing this in the head or foot, but for those less elegant of us )