Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9923

Linked media in lesson module does not display web pages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8
    • 1.8.3
    • Lesson
    • None
    • mysql 5.0.27
      php 4.4.4.8.2
    • MySQL
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

    Description

      When adding linked media to a lesson (Pop-up to file or web page option in the lesson settings), if you place a url in the textbox and run the lesson, it will display a link for you to download the file, giving the url with the domain (.com, .org, etc.) stripped. Clicking on this give a file not found error.

      If you choose a file with .htm or .html, the linked media will pop up a box that displays the footer and nothing else.

      When I view source, I get the following bit of code that may be relevant (calc.html has been uploaded and is in my file structure):

      <div id="content">

      <frameset rows="100%"><frame src="http://elearn.metrotech.org//file.php/527/calc.html" /></frameset></div>
      <!-- end div content -->

      When I view source, I get the following bit of code that may be relevant (http://www.google.com has been entered in the textbox):

      <div id="content">

      <div class="lessonmediafilecontrol"><p><div class="notifyproblem" style="text-align:center">Click on the following link to download the file.</div><br />
      <a href="http://elearn.metrotech.org/file.php/527/http/www.google.com">www.google</a></p></div></div>
      <!-- end div content -->

      Attachments

        Activity

          People

            bushido Mark Nielsen
            mcampbell Matt Campbell
            Matt Campbell Matt Campbell
            Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07