doxendine I don't know if your idea will work. Yes, you will get a new number when you edit a html text page or a html label. As I understand you do not like to save the files in Moodle.
What do you think about the idea to make a directory /home/moodlebox/share
... this is a directory inside the home directory of the user moodlebox. Then you should link this directory into the moodle directory.
sudo ln -s /var/www/moodle/z
sudo chown www-data:moodlebox /var/www/moodle/z
Now you can upload all files you want into the folder /home/moodlebox/share
. Use the program FileZilla for the sftp upload process. When the files are uploaded you can edit a text page in Moodle to link to all files you uploaded. All moodle links should look like the following both
http://moodlebox.home/z/littlebits-project-booklet.pdf
http://moodlebox.home/z/littlebits-project-film.mp4
You also can upload an index.html
into the directory /home/moodlebox/share
. The index.html
will be shown automatically when you write the url http://moodlebox.home/z/index.html or http://moodlebox.home/z/ into your browser address. Yes, the slash at the end of the second link must stay there so the browser does not go to Google to search directly. The index.html
can contain the links without any path.
Could this be an useful idea for your setting?
<head>
<title>MoodleBox - Shared files</title>
</head>
<body>
<br>
<h2>MoodleBox - Shared files</h2>
<h4>Please download the following ideas</h4>
<ul>
<li><a href="littlebits-project-booklet.pdf">littlebits-project-booklet.pdf</a>
<li><a href="littlebits-project-film.mp4">littlebits-project-film.mp4</a>
</ul>
</body>