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

Make hard-coded numbers configurable variables

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 1.8.3
    • General
    • None
    • Linux 2.6, Apache 2.0.59, PHP 5.1.6
    • MySQL
    • MOODLE_18_STABLE

      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.

            dougiamas Martin Dougiamas
            keefobeefo Keith Bremer (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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