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

IMS-CC import, improve navigation of imported resources

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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

      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

        Gliffy Diagrams

          Activity

          Hide
          darko.miletic Darko Miletic added a comment -

          Here is the patch that fixes what needs to be fixed

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

          done

          Show
          darko.miletic Darko Miletic added a comment - done
          Hide
          stronk7 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
          stronk7 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:
                Fix Release Date:
                25/Nov/09