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

Linked media in lesson module does not display web pages

XMLWordPrintable

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

      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 -->

            bushido Mark Nielsen
            mcampbell Matt Campbell
            Matt Campbell Matt Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.