Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36320 META: Move HTML generation from course/lib.php to renderer
  3. MDL-38592

Make settings for front page course listings more user friendly

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.4.3
    • Course
    • MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-38592-master
    • Hide

      Test 1 - upgrade.

      1. Have a website (before this issue was integrated!) with configured $CFG->frontpage, $CFG->frontpageloggedin to show list of courses, combo list and categories list
      2. Make sure there are some courses/categories present in the system and there is a user enrolled in some courses
      3. Make sure student can see his enrolled courses on the front page
      4. Set $CFG->disablemycourses in your config.php
      5. Student no longer should see his enrolled courses on the front page, he can see the list of available courses instead.
      6. Open frontpage for logged in and not logged in users, leave them open to compare later
      7. Set $CFG->numcoursesincombo to number less than number of courses in your system
      8. Make sure combo list is not displayed on the front page any more
      9. In another window upgrade Moodle
      10. Open frontpage for logged in and not logged in users, make sure the listings resemble what they were before upgrade. (Please note that upgrade script does not add course search box more than once).

      Test 2.

      1. Install new moodle site.
      2. Make sure 'Add course' button appears on the front page.
      3. Make sure settings 'frontpage' and 'frontpageloggedin' contain list of courses.
      4. Add several courses and categories
      5. Keep changing settings 'frontpage' and 'frontpageloggedin', make sure that frontpage displays itself respectfully.
      6. Change setting 'frontpagecourselimit' to number smaller than number of courses in the system and/or number of courses where student is enrolled, make sure the lists are truncated and link to see more is displayed.
      Show
      Test 1 - upgrade. Have a website (before this issue was integrated!) with configured $CFG->frontpage, $CFG->frontpageloggedin to show list of courses, combo list and categories list Make sure there are some courses/categories present in the system and there is a user enrolled in some courses Make sure student can see his enrolled courses on the front page Set $CFG->disablemycourses in your config.php Student no longer should see his enrolled courses on the front page, he can see the list of available courses instead. Open frontpage for logged in and not logged in users, leave them open to compare later Set $CFG->numcoursesincombo to number less than number of courses in your system Make sure combo list is not displayed on the front page any more In another window upgrade Moodle Open frontpage for logged in and not logged in users, make sure the listings resemble what they were before upgrade. (Please note that upgrade script does not add course search box more than once). Test 2. Install new moodle site. Make sure 'Add course' button appears on the front page. Make sure settings 'frontpage' and 'frontpageloggedin' contain list of courses. Add several courses and categories Keep changing settings 'frontpage' and 'frontpageloggedin', make sure that frontpage displays itself respectfully. Change setting 'frontpagecourselimit' to number smaller than number of courses in the system and/or number of courses where student is enrolled, make sure the lists are truncated and link to see more is displayed.

      $CFG->frontpage and $CFG->frontpageloggedin

      At the moment the options are:

      • News items
      • List of courses
      • List of categories
      • Combo list

      New options:

      • News items
      • List of courses
      • Enrolled courses (legacy)
      • List of categories
      • Combo list
      • Course search form

      which means that setting "List of courses" is split into two, $CFG->disablemycourses is deprecated

      Neither list of courses should display course search box but it can be added by admin manually

      Also deprecate $CFG->maxcoursesincombo

      Change default for $CFG->maxcategorydepth to 2 (now we have AJAX expanding)

      Transform FRONTPAGECOURSELIMIT into $CFG->frontpagecourselimit, by default 200, it will limit the number of courses to show in course lists

            marina Marina Glancy
            marina Marina Glancy
            Damyon Wiese Damyon Wiese
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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