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

Navigation block do not display link to stats

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • w36_MDL-35077_m24_stats
    • Hide

      Ensure that stats are enabled in the Advanced settings.

      The stats reports can be accessed via their URLs...

      http://yoursite/report/stats/index.php?course=XXX

      ...where yoursite is the URL of your Moodle site and XXX is the course id of the course you are interested in (1 for the whole site).

      Show
      Ensure that stats are enabled in the Advanced settings. The stats reports can be accessed via their URLs... http://yoursite/report/stats/index.php?course=XXX ...where yoursite is the URL of your Moodle site and XXX is the course id of the course you are interested in (1 for the whole site).
    • Hide
      1. Log in as admin
      2. Navigate to Settings > Site admin > Advanced features
      3. Set Enable statistics (enablestats) to unchecked (set to no)
      4. Save settings
      5. VERIFY that Statistics DOES NOT appear under Navigation > Site pages > Reports
      6. VERIFY that Statistics DOES NOT appear under Navigation > Courses > CourseXXX > Reports
      7. Log in as a teacher
      8. Navigate to a course
      9. VERIFY that Statistics DOES NOT appear under Navigation > Courses > CourseXXX > Reports
      10. Log in as an admin
      11. Navigate to Settings > Site admin > Advanced features
      12. Set Enable statistics (enablestats) to checked (set to yes)
      13. Save settings
      14. VERIFY that Statistics DOES appear under Navigation > Site pages > Reports
      15. VERIFY that Statistics DOES appear under Navigation > Courses > CourseXXX > Reports
      16. Log in as a teacher
      17. Navigate to a course
      18. VERIFY that Statistics DOES appear under Navigation > Courses > CourseXXX > Reports
      19. Log in as admin
      20. Navigate to Settings > Site admin > Users > Permissions > Define roles
      21. Click the edit icon in the Teacher row
      22. Search for report/stats:view
      23. Uncheck Allow
      24. Click Save changes
      25. Log in as a teacher
      26. Navigate to a course
      27. VERIFY that Statistics DOES NOT appear under Navigation > Courses > CourseXXX > Reports
      28. Log in as admin
      29. Navigate to Settings > Site admin > Users > Permissions > Define roles
      30. Click the edit icon in the Teacher row
      31. Search for report/stats:view
      32. Check Allow
      33. Click Save changes
      34. Navigate to Settings > Site admin > Advanced features
      35. Set Enable statistics (enablestats) to unchecked (set to no)
      36. Save settings
      Show
      Log in as admin Navigate to Settings > Site admin > Advanced features Set Enable statistics (enablestats) to unchecked (set to no) Save settings VERIFY that Statistics DOES NOT appear under Navigation > Site pages > Reports VERIFY that Statistics DOES NOT appear under Navigation > Courses > CourseXXX > Reports Log in as a teacher Navigate to a course VERIFY that Statistics DOES NOT appear under Navigation > Courses > CourseXXX > Reports Log in as an admin Navigate to Settings > Site admin > Advanced features Set Enable statistics (enablestats) to checked (set to yes) Save settings VERIFY that Statistics DOES appear under Navigation > Site pages > Reports VERIFY that Statistics DOES appear under Navigation > Courses > CourseXXX > Reports Log in as a teacher Navigate to a course VERIFY that Statistics DOES appear under Navigation > Courses > CourseXXX > Reports Log in as admin Navigate to Settings > Site admin > Users > Permissions > Define roles Click the edit icon in the Teacher row Search for report/stats:view Uncheck Allow Click Save changes Log in as a teacher Navigate to a course VERIFY that Statistics DOES NOT appear under Navigation > Courses > CourseXXX > Reports Log in as admin Navigate to Settings > Site admin > Users > Permissions > Define roles Click the edit icon in the Teacher row Search for report/stats:view Check Allow Click Save changes Navigate to Settings > Site admin > Advanced features Set Enable statistics (enablestats) to unchecked (set to no) Save settings

    Description

      Navigation block do not display MyCourses-Reports-Statistics for the teacher even if the statistics are enabled on the server and the editingteacher role has the capability report/stats:view allowed. When I am logged as admin, I can see the statistics graphs in Site Administration - Reports - Statistics.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              petko81 Peter Svec
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ankit Agarwal Ankit Agarwal
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12