Dear All,
I've trawled this forum for about 30 mins and read the FAQs to check for my specific question, but no joy, however, I suspect it has come up many, many times before.
I'm trying to support a colleague with a moodle 2.5.1 instance which was migrated from 1.9 about 12 months ago. From our 1.9 site we had a HTML mini-site built in Dreamweaver with all the usual relative paths to css, a little javascript, images etc. The moodle course site has file links to specific pages within the HTML site and these were autocreated in 2.5 from the legacy 1.9 migration. For example,
1.1 - File pointing to HTML page in mini-site
1.2 - File pointing to HTML page in mini-site
1.3 - File pointing to HTML page in mini-site
2.1 - File pointing to HTML page in mini-site
2.2 - File pointing to HTML page in mini-site
2.3 - File pointing to HTML page in mini-site
...
You can see a sample of the exact setup if you login as a guest user to this course sample:
http://www.hazopstc.com/course/view.php?id=7
A problem has arisen since I needed to add a new page. Although I can add a new page to the Legacy Course Files section in the Course Admin, I cannot link to this using the File resource tool as the legacy files are not seen. For obvious maintenance reasons, I want to have one set of HTML files (including associated css, framework images, etc) to which I can link to specific pages in each moodle course layout section.
From information I've managed to find, one approach is to grab the URL for the target page when viewing it as an admin in the Legacy Course Files section, and add this to the moodle site via the Add URL link tool. You can see that I've used this approach to create the new "1.6 Comments from users" resource on the course sample site linked above.
I don't like this approach as it feels too much of a hack. Could anyone tell me if there is a better way to create multiple file links in a course to a single set of HTML files stored in moodle?
Thanks,
Stuart Anderson, UK
URL