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

Reduce size of Navigation bar when in a course

    Details

    • Testing Instructions:
      Hide

      Good luck.....

      1. Log in as an admin
      2. Several up a dozen or so categories, make sure you have nested categories at least 3 levels deep.
      3. Create courses in most of the categories. Ensure there is at least one category with three courses in it.
      4. Enrol some students into courses.
      5. As an admin make sure the following settings are default: navshowcategories, navshowmycoursecategories, navshowallcourses.
      6. Set navcourselimit to 2.
      7. Log in as another user with enrolments and make sure the navigation is as you would expect.
      8. Notice that when in a course, or activity you have a current course branch.
      9. Make sure you play with AJAX loading and check things work.
      10. Log in as the admin and systematically change each of navshowcategories, navshowmycoursecategories, navshowallcourses. For each change test again and make sure the navigation behaves as you expect.
      Show
      Good luck..... Log in as an admin Several up a dozen or so categories, make sure you have nested categories at least 3 levels deep. Create courses in most of the categories. Ensure there is at least one category with three courses in it. Enrol some students into courses. As an admin make sure the following settings are default: navshowcategories, navshowmycoursecategories, navshowallcourses. Set navcourselimit to 2. Log in as another user with enrolments and make sure the navigation is as you would expect. Notice that when in a course, or activity you have a current course branch. Make sure you play with AJAX loading and check things work. Log in as the admin and systematically change each of navshowcategories, navshowmycoursecategories, navshowallcourses. For each change test again and make sure the navigation behaves as you expect.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-33017-m24-r2

      Description

      A number of our users have commented that if they are in many courses, then their 'My courses' list gets a bit ridiculous when they're trying to browse and edit the course.

      It would be great if both the 'Courses' and 'My courses' navigation nodes could be simplified so that if you are in a course, course module, or block context, the current course is shown in a 'Current course' navigation node. They should still appear in 'Courses' and 'My courses' but should not be expanded.

      I've had a quick go to prove the concept but I'm not very familiar with the navigation menu.

        Gliffy Diagrams

          Attachments

          1. currentcourse.png
            currentcourse.png
            12 kB
          2. exampleissue.png
            exampleissue.png
            80 kB
          3. Screenshot-2.png
            Screenshot-2.png
            120 kB
          4. viewallcourses.png
            viewallcourses.png
            13 kB

            Issue Links

              Activity

                People

                • Votes:
                  4 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12