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

Linked media in lesson module does not display web pages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.3
    • Component/s: Lesson
    • Labels:
      None
    • Environment:
      mysql 5.0.27
      php 4.4.4.8.2
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      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

            • Assignee:
              bushido Mark Nielsen
              Reporter:
              mcampbell Matt Campbell
              Tester:
              Matt Campbell
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Oct/07