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

Admin home page preference not respected

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-72110-master-v3
    • Hide

      Steps to test the admin behavior with URL redirect after login

      1. Login as Admin.
      2. On site home enable editing by clicking the "Turn editing on" in the cog.
      3. On the right pane click the "Add a block".
      4. Select "Administration"
      5. Click on the cog icon of the newly added Administration block and select "Configure Administration block".
      6. Go to "Where this block appears" -> Page contexts.
      7. Select "Display throughout the entire site".
      8. Now click on "Site administration" -> Appearance -> Navigation in the newly added Administration block.
      9. Select "Home page for users" to "User preference". And click "Save changes".
      10. Now go to "Site Home" and click on the link "Make this my home page" under the Administration block added. It can be seen under the "Front page settings".
      11. You should see "Site Home" renamed to "Home" and will be listed on the top in the list (in the left pane).
      12. You should see similar change in the primary navigation too. That is "Home" will appear in the primary navigation.
      13. Now log out and re-login as admin.
      14. Admin user should land up on the "Home" page.
      15. Now let's go back "Dashboard" and similarly click the link "Make this my home page" under the Administration block added. It can be seen under the "Front page settings".
      16. You should see "Home" renamed to "Site Home" and pushed under "Dashboard" in the left pane list.
      17. You should see this change in the primary navigation too. That is "Dashboard" will become the first node seen in the primary navigation. After that you should see "Site Home".
      18. Now log out and re-login as admin.
      19. Admin user should land up on the "Dashboard" page.
      Show
      Steps to test the admin behavior with URL redirect after login Login as Admin. On site home enable editing by clicking the "Turn editing on" in the cog. On the right pane click the "Add a block". Select "Administration" Click on the cog icon of the newly added Administration block and select "Configure Administration block". Go to "Where this block appears" -> Page contexts. Select "Display throughout the entire site". Now click on "Site administration" -> Appearance -> Navigation in the newly added Administration block. Select "Home page for users" to "User preference". And click "Save changes". Now go to "Site Home" and click on the link "Make this my home page" under the Administration block added. It can be seen under the "Front page settings". You should see "Site Home" renamed to "Home" and will be listed on the top in the list (in the left pane). You should see similar change in the primary navigation too. That is "Home" will appear in the primary navigation. Now log out and re-login as admin. Admin user should land up on the "Home" page. Now let's go back "Dashboard" and similarly click the link "Make this my home page" under the Administration block added. It can be seen under the "Front page settings". You should see "Home" renamed to "Site Home" and pushed under "Dashboard" in the left pane list. You should see this change in the primary navigation too. That is "Dashboard" will become the first node seen in the primary navigation. After that you should see "Site Home". Now log out and re-login as admin. Admin user should land up on the "Dashboard" page.
    • 1
    • Navigation push 3, Navigation push 4, Navigation push 5

      Admin's home page preferences is not respected when home page is set based on user preference

      Replication steps:

      1. Log in as admin
      2. On site home enable editing
      3. Add the administration block
        1. Set page contexts - 'Display throughout the entire site'
      4. On Dashboard
      5. Click on the 'Make this my home page'
        1. If the link is not available, go to site home
        2. Click on the 'Make this my home page'
        3. Retry on Dashboard
      6. Log out
      7. Log in as admin
      8. Landing page is 'Site home'

      When the user preference is set to dashboard, update the primary navigation so that home points to the dashboard and the dashboard tab becomes "Site home" and points to the site home.

        1. image-2021-10-03-16-44-07-685.png
          image-2021-10-03-16-44-07-685.png
          2 kB
        2. MDL-72110_master_Step 11-12.png
          MDL-72110_master_Step 11-12.png
          196 kB
        3. MDL-72110_master_Step 14.png
          MDL-72110_master_Step 14.png
          219 kB
        4. MDL-72110_master_Step 16-17.png
          MDL-72110_master_Step 16-17.png
          94 kB
        5. MDL-72110_master_Step 19.png
          MDL-72110_master_Step 19.png
          96 kB
        6. MDL-72110_v310_Step 11-12.png
          MDL-72110_v310_Step 11-12.png
          186 kB
        7. MDL-72110_v310_Step 14.png
          MDL-72110_v310_Step 14.png
          186 kB
        8. MDL-72110_v310_Step 16-17.png
          MDL-72110_v310_Step 16-17.png
          100 kB
        9. MDL-72110_v310_Step 19.png
          MDL-72110_v310_Step 19.png
          100 kB
        10. MDL-72110_v311_Step 11-12.png
          MDL-72110_v311_Step 11-12.png
          208 kB
        11. MDL-72110_v311_Step 14.png
          MDL-72110_v311_Step 14.png
          208 kB
        12. MDL-72110_v311_Step 16-17.png
          MDL-72110_v311_Step 16-17.png
          100 kB
        13. MDL-72110_v311_Step 19.png
          MDL-72110_v311_Step 19.png
          100 kB
        14. MDL-72110.bmpr
          15 kB
        15. sample.patch
          2 kB

            sujith Sujith Haridasan
            peterdias Peter Dias
            Peter Dias Peter Dias
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 56 minutes
                1d 3h 56m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.