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

Not always possible to easily navigate back to section from an activity page

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-74461-400
    • MDL-74461-master
    • Hide

      Initial setup

      1. Create a course called C1 with Course format is Topics format and the Course layout is Show all sections on one page.
      2. Create 2 sections called Topic 1, Topic 2.
      3. Create 2 Page activities for each Topic. For example: Page 1 for Topic 1, Page 2 for Topic 2.

      Test 1

      1. Log in as admin.
      2. Navigate to course C1.
      3. Click on Page 1 activity.
      4. Click on C1 hyperlink in the breadcrumb.
      5. Verify that the URL will have a section-1 anchor.
      6. Verify that the page will be scrolled to the Topic 1 position, not at the top of the page.
      7. Click on Page 2 activity.
      8. Click on C1 hyperlink in the breadcrumb.
      9. Verify that the URL will have a section-2 anchor.
      10. Verify that the page will be scrolled to the Topic 2 position, not at the top of the page.

      Test 2

      1. Log in as admin.
      2. Navigate to course C1.
      3. Change the Course layout to Show one section per page.
      4. Click on Page 1 activity.
      5. Verify that you will see Topic 1 hyperlink in the breadcrumb.
      6. Click on Topic 1 hyperlink in the breadcrumb.
      7. Verify that the page will show Topic 1 content.
      8. Click Back on the browser.
      9. Click on C1 hyperlink in the breadcrumb.
      10. Verify that the URL will not have any section anchor.
      11. Verify that the page will be scrolled to the top of the page.
      12. Click on Page 2 activity.
      13. Verify that you will see Topic 2 hyperlink in the breadcrumb.
      14. Click on Topic 2 hyperlink in the breadcrumb.
      15. Verify that the page will show Topic 2 content.
      16. Click Back on the browser.
      17. Click on C1 hyperlink in the breadcrumb.
      18. Verify that the URL will not have any section anchor.
      19. Verify that the page will be scrolled to the top of the page.
      Show
      Initial setup Create a course called C1 with Course format is Topics format and the Course layout is Show all sections on one page. Create 2 sections called Topic 1, Topic 2. Create 2 Page activities for each Topic. For example: Page 1 for Topic 1, Page 2 for Topic 2. Test 1 Log in as admin. Navigate to course C1. Click on Page 1 activity. Click on C1 hyperlink in the breadcrumb. Verify that the URL will have a section-1 anchor. Verify that the page will be scrolled to the Topic 1 position, not at the top of the page. Click on Page 2 activity. Click on C1 hyperlink in the breadcrumb. Verify that the URL will have a section-2 anchor. Verify that the page will be scrolled to the Topic 2 position, not at the top of the page. Test 2 Log in as admin. Navigate to course C1. Change the Course layout to Show one section per page. Click on Page 1 activity. Verify that you will see Topic 1 hyperlink in the breadcrumb. Click on Topic 1 hyperlink in the breadcrumb. Verify that the page will show Topic 1 content. Click Back on the browser. Click on C1 hyperlink in the breadcrumb. Verify that the URL will not have any section anchor. Verify that the page will be scrolled to the top of the page. Click on Page 2 activity. Verify that you will see Topic 2 hyperlink in the breadcrumb. Click on Topic 2 hyperlink in the breadcrumb. Verify that the page will show Topic 2 content. Click Back on the browser. Click on C1 hyperlink in the breadcrumb. Verify that the URL will not have any section anchor. Verify that the page will be scrolled to the top of the page.
    • 3
    • HQ Team International CIH2-222

    Description

      There is an issue with navigation and breadcrumb on the activity page.

      Since section is no longer a part of the navigation there is no easy way to return to the section you came from if you have turned of the course navigation panel. If you have a long course and has completed a quiz, you will not be able to use browser back. You can in this case only get back to the course top. 

      It would be great to have a way to get back to the section you came from, from within the activity. 

      Attachments

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              sanderbangma Sander Bangma
              Michael Hawkins Michael Hawkins
              Jun Pataleta Jun Pataleta
              Angelia Dela Cruz Angelia Dela Cruz
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/May/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 55 minutes
                  1d 55m