Moodle

Make sure relative content is relative to wherever manifest comes from

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.8
  • Component/s: SCORM
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE

Description

Use BASE tags in the generated HTML pages in Moodle to make sure relative content is relative to wherever manifest comes from

Activity

Hide
Roberto Pinna added a comment -

I don't understand this issue.
I think it we can't use BASE in Moodle generated HTML pages. The SCORM module force browser to load the content page that is loaded as an external page.
BASE may be added like for Moodle filters to HTML files.

Bobo.

Show
Roberto Pinna added a comment - I don't understand this issue. I think it we can't use BASE in Moodle generated HTML pages. The SCORM module force browser to load the content page that is loaded as an external page. BASE may be added like for Moodle filters to HTML files. Bobo.
Hide
Martin Dougiamas added a comment -

Ah, right.

OK, so it needs to be done to the links taken from the IMS so that the manifest is here:

http://somesite.com/blah/imsmanifest.xml

and it contains links like:

subdir/something.html

we need to rewrite the TOC so that Moodle correctly loads

http://somesite.com/blah/subdir/something.html

in the iframe

Show
Martin Dougiamas added a comment - Ah, right. OK, so it needs to be done to the links taken from the IMS so that the manifest is here: http://somesite.com/blah/imsmanifest.xml and it contains links like: subdir/something.html we need to rewrite the TOC so that Moodle correctly loads http://somesite.com/blah/subdir/something.html in the iframe

People

Dates

  • Created:
    Updated:
    Resolved: