Problem with question categories

Re: Problem with question categories

by John Isner -
Number of replies: 0
Here are instructions for Moodle 1.6 (menus have changed in Moodle 1.7, but things work pretty much the same).

In the course that has the images,
  • go to Administration -> Files
  • check boxes next to all images you want to copy
  • in the "With chosen files" menu at the bottom, select "create zip archive"
  • once the zip file is created, click it; this will bring up a dialog allowing you to download the file to your local disk
In the target course (the course to which you want the images copied)
  • go to Administration -> Files
  • click the "Upload a file" button and upload the zip file from your local disk
  • once the zip file is uploaded, click the "Unzip" link (to the right of the file name)
If the images are in a subfolder in the original course, use the same structure in the target course (it will make things easier).

After doing this, your image links may still be broken. If so, you have another step. If there aren't too many images, I would suggest doing it manually. First, note the course number of the target course (look in the address bar for the id=x at the end of the URI). For each quiz question containing an image...
  • Edit the question (click the hand-with-pencil icon)
  • Toggle HTML mode (<> button in editor)
  • Replace the course number in the image src by the course number of the target course.
  • Toggle back to normal mode and you should see the image
Quite a pain, isn't it? When you're finished, please vote for MDL-9134 ("Need a good solution to the problem of sharing files and resources among courses").