Importing web pages into editor for direct display onto moodle page (ie no link)

Importing web pages into editor for direct display onto moodle page (ie no link)

by Corinne O'Connor -
Number of replies: 2
Hello everyone. I wished to have a complete web site of mine displayed directly in a Moodle page, so that the user doesn't have to click on a link to open it! BUT....... pensif.....triste..!!

I imported to the files section of my moodle course (which I named "Communications course") the entire contents of a web site i created (with dreamweaver), which contains various files on root level, ie index.htm, some .txt files, some swf files, then two folders containing pictures for one, and pdf files for the other.

I then went into my moodle "Communications course", clicked on the icon "edit summary", and in the file editor pasted my entire "index.htm" contents into it.

The home page, ie index.htm, contains a title, a background image, then tables containing icons and a text which in fact comes from an external .txt file.

Anyway the only thing that actually shows is the title of the web page and nothing else ! So I tried a test: i placed the background image at root level, amended the src in the html code (ie : instead of src Http://.. and the full url of the image in my moodle files, i just wrote : <body background="Img src = homme_filaire1.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">) and that did not work either !!!!!

HELP !!!!! I find that displaying a web site into a Moodle page WITHOUT having the student click on a link is much more efficient for the student, who no longer has to actually look for the link to the web page in the middle of loads of other course contents!! In simpler terms, visually speaking when the student goes into his course, the web site is immediately there, central to the course, instead of being accessible just by a link..!!

Can anyone give me the clue to the problem????

Many thanks!

Best

Corinne
-------------------------------------
Elearning design consultant
Phd student in Social Psychology
France

Average of ratings: -
In reply to Corinne O'Connor

Re: Importing web pages into editor for direct display onto moodle page (ie no link)

by Keith Bone -

Hi;

I think you have the same problem I am experiencing. See my message posted about half an hour ago to HTML forum.

I think Moodle caches the files as you upload and link them, so when you edit (external editor) the file i.e. index.html and upload it to Moodle, the system still has and used the original file and does not "see" the newly edited file you just uploaded.

My workarond has been to unlink the file in Moodle, then delete the whole folder, or sub folder, that your HTML files are in.

Then create a new folder (with a different name) and upload the edite web pages again.

Re link the index.html and it should work.

I wish they would fix this one because I am all the time going back and forth editing and making slight changes which are more easily done using a decent external HTML editor. (I have several, Dreamweaver for one)

Cheers

Keith Bone

In reply to Keith Bone

Re: Importing web pages into editor for direct display onto moodle page (ie no link)

by Corinne O'Connor -
Hi Keith, and hello to you in Australia from France!

Thanks for your reply..... here's the easy answer I found to my problem:

- Once your html pages are inserted in the files of a course..
- open up an html editor on one of the topics of the page..
- click on the <> button on the top left corner of the editor, to view Html source code
- then type in the editor the following, using <iframe src=http......>, and of course without forgetting to replace it with your own url and details....for instance:

<a title="Analyse systemique" target="_blank" href="http://www.elearningcommunications.net/mood/file.php/3/index.htm"><img width="755" vspace="0" hspace="0" height="327" border="0" <iframe src="http://www.elearningcommunications.net/mood/file.php/3/analyse_syst_accueil_image_2.jpg" alt="Analyse systemique" title="Analyse systemique" border="100" frameborder="100" height="800"
scrolling="yes" width="790"></iframe> /></a><br />

So now instead of having one tiny link on a moodle course page which links to a web site, my web site opens up inside the topic of the page.... Much better!!!

...^_^......

Hope this can be another way of going round your technical problem too!

Best

Corinne