Moodle

Make hard-coded numbers configurable variables

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.3
  • Fix Version/s: None
  • Component/s: General
  • Labels:
    None
  • Environment:
    Linux 2.6, Apache 2.0.59, PHP 5.1.6
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

There are several places in Moodle where numbers are hard-coded that could be made configurable. For example, the maximum number of courses that can be displayed on the MyMoodle front page (21). This recently caused us some difficulty when a user needed over 40 courses to be displayed on their MyMoodle front page.

A temporary fix was to edit the moodle/my/index.php file and change the call to get_my_courses so that it allowed up to 60 courses to be displayed.

Issue Links

Activity

Hide
Eric Merrill added a comment -

This particular issue (how many courses on the My Moodle page) has been resolved by MDL-13224 and numerous other tickets in 19_STABLE and HEAD.

Show
Eric Merrill added a comment - This particular issue (how many courses on the My Moodle page) has been resolved by MDL-13224 and numerous other tickets in 19_STABLE and HEAD.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: