Glenys,
looking at the "book" module backup and restore scripts, it seems they will detect and transfer absolute URLs from the old site to the new site:
The old URLs should be one of the following:
- book's first chapter
e.g. http://www.oldsite.com/moodle/book/view.php?id=99
where "99" is a course module id of a book activity
- book's specific chapter
e.g. http://www.oldsite.com/moodle/book/view.php?id=99&chapterid=88
where "99" is a course module id of a book activity
and "88" is an optional chapterid within the book
- book index page in a course
e.g. http://www.oldsite.com/moodle/book/index.php?id=99
where "99" is a course id, i.e. not a course module id
If you put these links in the entry page text or exit page text of a QuizPort activity, they should be backed up and restored correctly. (If they are not, please tell me and I will try to fix it)
If you put the links in the Hot Potatoes files themselves, then they will not be adjusted during the restore, because the restore doesn't touch the Hot Potatoes files.
If you want to put the link in the Hot Potatoes files, then I suggest we extend the square bracket notation. At the moment, you can insert links like this:
- [link http://www.server.com/webpage.html]
We could allow links to other Moodle activities, with courses and activities identified by name:
- [link coursename="My course name" activitytype="book" activityname="My first book" chapter="2" text="click here to read a book about this activity"]
If the coursename is not givien, we could assume the current course. If the activitytype is not given we can assume that the activity name is unqiue.
This functionality would take a day to two to add to QuizPort. If anyone is interested in the sponsoring the work, please contact me privately on the following email address:
- gordon at-sign kanazawa hyphen ga dot ac dot jp
all the best
Gordon