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

Jump to section navigation for 'One section per page' setting in course formats.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 2.5
    • Fix Version/s: 2.5
    • Component/s: Course
    • Testing Instructions:
      Hide
      1. With a topics based course, edit the settings ('Formatting options' -> 'Course layout') to have 'One section per page'.
      2. Click on the topic header to go to that section.
      3. Observe a new jump to menu in place of the single 'Return to main course page' link. The 'Jump to' menu has all of the shown sections in the course and a 'Main course page' option.
      4. Click on any section bar 'Main course page' to navigate non-sequentially to that section. Confirm that the section is navigated to.
      5. Click on 'Main course page' to navigate to the main course page. Confirm that the main course page is navigated to.
      6. Repeat for a weeks based course.
      Show
      With a topics based course, edit the settings ('Formatting options' -> 'Course layout') to have 'One section per page'. Click on the topic header to go to that section. Observe a new jump to menu in place of the single 'Return to main course page' link. The 'Jump to' menu has all of the shown sections in the course and a 'Main course page' option. Click on any section bar 'Main course page' to navigate non-sequentially to that section. Confirm that the section is navigated to. Click on 'Main course page' to navigate to the main course page. Confirm that the main course page is navigated to. Repeat for a weeks based course.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-34917_master

      Description

      On 'Reflections on the new Course "Layout" for 2.3+' (http://moodle.org/mod/forum/discuss.php?d=208789), Itamar Tzadok stated how he had in effect reinstated the 'Jump to' section menu that was available in previous versions. It was received with enthusiasm and a desire for it to return.

      I have been able to adapt '/course/format/renderer.php' to utilise the code that was originally in '/course/format/topics/format.php' in Moodle 2.2 to provide a Moodle 2.3 version.

        Attachments

        1. jt_mcp.png
          jt_mcp.png
          12 kB
        2. jt_nch.png
          jt_nch.png
          9 kB
        3. osp_jt_rtcp.png
          osp_jt_rtcp.png
          12 kB
        4. osp_jt.png
          osp_jt.png
          14 kB
        5. osp_t_jt.png
          osp_t_jt.png
          12 kB

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13