Moodle
  1. Moodle
  2. MDL-20620

IMS-CC import, improve navigation of imported resources

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.7
    • Component/s: Backup
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      33122

      Description

      Right now all the imported resources from IMS-CC packages have their "visualisation settings" undefined, so default behaviour happens: The resource contents replaces the whole page, losing Moodle navigation.

      IMO it would be great to apply the "Show navigation: Yes, without frame" setting to all the imported resources, that way Moodle navigation will be present in all resources and contents will be embed into <object> tag automatically by Moodle.

      To fulfill this, all we need to do is to change the <OPTIONS> tag in the generated moodle.xml from:

      <OPTIONS></OPTIONS>

      to:

      <OPTIONS>objectframe</OPTIONS>

      Seems simple and it's really a big usability improvement for imported resources.

      Ciao

        Activity

        Hide
        Darko Miletic added a comment -

        Here is the patch that fixes what needs to be fixed

        Show
        Darko Miletic added a comment - Here is the patch that fixes what needs to be fixed
        Hide
        Darko Miletic added a comment -

        done

        Show
        Darko Miletic added a comment - done
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Thanks!

        Patch applied both to 19_STABLE and HEAD.
        test.moodle.org/imscc updated
        all packages restored again
        now navigation is shown, both in internal and external file resources

        Closing, ciao

        Show
        Eloy Lafuente (stronk7) added a comment - Thanks! Patch applied both to 19_STABLE and HEAD. test.moodle.org/imscc updated all packages restored again now navigation is shown, both in internal and external file resources Closing, ciao

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: