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

Let users set their default homepage

    XMLWordPrintable

Details

    • MOODLE_32_STABLE, MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • Hide

      1. Disable user preference

      1. As an administrator, navigate to Site administration > Appearance > Navigation
      2. Set the field Default home page for users to Site and press Save changes
      3. Select Preferences from your user menu
      4. Ensure that Default home page is not listed under Preferences > User account
      5. Go to the main page (you can click the site name in the top left)
      6. Check the Site home page is loaded

      2. Enable user preference

      1. As an administrator, navigate to Site administration > Appearance > Navigation
      2. Set the field Default home page for users to User preference and press Save changes
      3. Select Preferences from your user menu
      4. Ensure that Default home page is listed under Preferences > User account
      5. Press Default home page
      6. Set the field Default home page to Site and press Save changes
      7. Confirm that the breadcrumb equals Home > Dashboard > Preferences
      8. Go to the main page (you can click the site name in the top left)
      9. Check the Site home page is loaded
      10. Select Preferences from your user menu
      11. Press Default home page
      12. Set the field Default home page to Dashboard and press Save changes
      13. Confirm that the breadcrumb equals Dashboard > Preferences
      14. Go to the main page (you can click the site name in the top left)
      15. Check the Dashboard is loaded
      Show
      1. Disable user preference As an administrator, navigate to Site administration > Appearance > Navigation Set the field Default home page for users to Site and press Save changes Select Preferences from your user menu Ensure that Default home page is not listed under Preferences > User account Go to the main page (you can click the site name in the top left) Check the Site home page is loaded 2. Enable user preference As an administrator, navigate to Site administration > Appearance > Navigation Set the field Default home page for users to User preference and press Save changes Select Preferences from your user menu Ensure that Default home page is listed under Preferences > User account Press Default home page Set the field Default home page to Site and press Save changes Confirm that the breadcrumb equals Home > Dashboard > Preferences Go to the main page (you can click the site name in the top left) Check the Site home page is loaded Select Preferences from your user menu Press Default home page Set the field Default home page to Dashboard and press Save changes Confirm that the breadcrumb equals Dashboard > Preferences Go to the main page (you can click the site name in the top left) Check the Dashboard is loaded

    Description

      I found this working on MDL-56614

      Without administration block it is not possible for an ordinary user to change/set the default home page. Admin can set the default home page to site when he is on front page but is not able to change it to dashboard when on dashboard

      Behat test "Admin sets the site page and then the dashboard as the default home page" fails if you remove the navigation and aministration blocks in boost.

      $ git grep MDL-57208
      user/tests/behat/set_default_homepage.feature:    # TODO MDL-57208 this functionality does not work without administration block.
      

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              marina Marina Glancy
              Daniel Neis Araujo Daniel Neis Araujo
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Janelle Barcega Janelle Barcega
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 2 hours, 19 minutes Remaining Estimate - 3 days, 6 hours, 1 minute
                  3d 6h 1m
                  Logged:
                  Time Spent - 2 hours, 19 minutes Remaining Estimate - 3 days, 6 hours, 1 minute
                  2h 19m