I am learning a lot by playing around with this but the thing I am learning most is that teachers will need significant retraining in organising/managing files. The one thing most of them want to do (sadly, because I prefer the more interactive stuff) is upload files like Word docs/powerpoints or whole folders of exam papers. The way Moodle 2 handles these is quite different of course and will need careful and gentle explaining so as not to discourage people who have been using Moodle at that basic level for a fair while. It's easy to upload, it seems to me, but less easy to locate a previously uploaded resource. On the other hand, the possibilities (and simplicity) of taking resources from the likes of youtube/flickr/google etc will definitely make up for that in the long run.
I do not despair to test Moodle 2.0 but it seems that anything I try to do with the current DEV version leads to a dead end.
Using current version Moodle 2.0 dev (Build: 20100203)
In a course I go to Files, I upload a zipped file... cannot see any way to unzip it.
You seem to say that you did manage to unzip a zipped file in moodle 2.0. How did you manage to do it?
It took me a while to figure it out in 2.0, but here is what you do:
Create resource>folder then upload the zipped folder as a file. After it is uploaded you will see a small round icon next to it . Click on the icon and select unzip from the dropdown menu. You can also delete the zipped file then save and return to course. This should do it.
I'm trying to upload a large zipped website this way.
The problem is that all of the index.html files have a forcedownload arguement added to them. So they don't open in the browser, but it tries to downlaod each one.
Anyway to prevent the forcedownload?
I'm trying to upload a large zipped website this way. Which way are you using? If you zip your website folder then upload via add a resource>file, unzip and choose "set main file" for the index.html file you want to run the website -it should work.
Ah - you are talking about the Moodle installation zipped folder , not a zipped folder of resources to upload to Moodle. Sorry - I tend to unzip my Moodle folder first before I FTP it up to the server - but if you are installing Moodle, here is the relevant documentation: http://docs.moodle.org/22/en/Installing_Moodle
LATER: just to answer my own question.
when uploading a zipped file thru file picker, if all is working correctly the zip icon will appear next to the file, click icon and choose unzip.
sorry for hijacking an old thread.
after unzipping a folder, and clicking on the link from the course page, the fodler displays with all sub-folders automatically open.
Is there a way to disable this so sub-folders are closed?
i did not see any icon and i am using 2.9 , so how did you unzip .
You need to do following to unzip a file in moodle:
- Ensure you have php zip module installed. (php -m | grep zip)
- Go to your private files
- upload a zip file
- Click on uploaded zip file icon
- You should see unzip button like below.
- Click on unzip and it will unzip file and create a folder with all file.
Hope this helps.