We are teaching web-based courses of computer science (in total 26 ETCS) at University of Joensuu, Finland. Now we use WebCT but are thinking about changing our courses into Moodle.
We have a courses on WebCT, and they consist of complete websites of many separate html-pages with links and everything from applets to flash-anitmations. That websites are divided to "study weeks" and they uses frames to divide menu and material parts.
Method of trying it in Moodle:
Basically I upload the material in a zip file to Moodle and then unzip it inside some folder.
I made a "new resource"-"uploaded file" link to index.html on that folder. First page opens, but the links to frames wich have the necessary information are not found, because the links are relative to moodle/file.php wich opened the first page.
We have five different courses and each of them consists of at least 60 different pages so it would be nice to get it working somehow without rewriting all the pages. One method how this could be solved would possibly be to order the machine to recreate links between the pages compatible with Moodle using some php script or something.
Other approach is to place the material to different location in server, but protecting it from outsiders is not so easy. When this approach is used users should propably rewrite ther username and password when they are accessing materials. This allso needs a bit knowlegde about .htaccess and other serverside stuff.
Have you any ideas/suggestions how this could be accomplished easily / without much pain or coding a lot of php?
if you post ( or email privately if you prefer ) a section of a course ( with some applet and flash ) it will be possible to see how links are done inside your frame and maybe to find a simple solution to use all your existing material.
So if you can't (for some reason) use slasharguments, the links within pages are not working.. Basically everything is now all right for us, cause I don't think it will be a big problem to get those slasharguments working, but it was very difficult to know the reason/solution beforehand.
Actually I had read that slasharguments message before, but couldn't connect the information on that to problems we were having. Anyway, now I think everything will go on well. Thanks for everybody who gave information about this problem. Lets hope this thread will help others also.
I have also had problems with uploaded files relations.
In apache enviroment slasharguments solved the problem but in IIS enviroment it simply made things even worse. In both systems when slasharguments caused html relative links to point at moodle root folder. You could see text but all the images and links didn't worked. Changing slasharguments value in apache made links work properly but in IIS it caused page not to see at all. Simply an empty page.
I would be very grateful for any help or ideas.
I am also having a problem with uploaded webpages. If, for example, I upload "page1.htm" and "page2.htm" and "page1.htm" contains a link to "page2.htm", then I add "page1.htm" as a resource, users will get a perfect loading of "page1.htm" but when they click on the link to "page2.htm" they get nothing ???
I have tried slasharguments in both states with no success.
I am running moodle on Windows 2003 Server with IIS.
I think the way this was solved is to put both pages in the same directory and link to each using relative links.
Thanks for your response.
I do have both files in the same directory in the uploaded files section. Can you elaborate on exactly what you mean by "relative links". Using the previous "page1.htm" and "page2.htm" scenario can you show me how to make the link relative? If both files are in a directory called "NewFolder" and the link from "page1.htm" to "page2.htm" is...
<a href="page2.htm">Go to page two</a>
...what would I change the link to, to make it relative?
Excuse my ignorance.