Details
Description
I'm creating a site with simple navigation for early elementary students. Each course is to be set up so that students see a number of large icons under topic 1. Each icon links to a new topic (which in turn has a "back" button to topic 1. Only one topic is to be visible at a time (initially topic 1)
So course links such as http://mysite.edu/course/view.php?id=34&topic=1, http://mysite.edu/course/view.php?id=34&topic=2, http://mysite.edu/course/view.php?id=34&topic=etc. are used extensively throughout the course. Works fine ... But I want to be able to clone the course for multiple teacher/grade scenarios. ... so, when I backup and restore to another course (say id=35), all of the links remain pointing to id=34. I'm creating these linked icons using labels, but a test of a the same html in a course webpage also failed to change the urls.
Can the core code be modified (or a fix be provided) to allow for the conversion of all urls (that point to course A ) when it is restored to course B, C, etc.?
As Eloy stated in http://moodle.org/mod/forum/discuss.php?d=148686, it would be great to have some filter doing that work, exactly like the "Activity Names" filter does, but working on sections.
Hi Larry,
this should be considered fixed right now!
So any link like:
htttp://yoursite/yourmoodle/course/view.php?id=XX
is transformed automatically to the new course id (note this includes also links having the "&topic=YY" and "&week=ZZ", suffixes that don't get transformed at all).
As somehow related with this, I've created
MDL-22179, because this needs to be also implemented in Moodle 2.0 restore (work in progress).Resolving this as fixed, if you find anything not working as expected, plz, comment here. Ciao
MDL-22179, because this needs to be also implemented in Moodle 2.0 restore (work in progress). Resolving this as fixed, if you find anything not working as expected, plz, comment here. Ciao