Monday, April 23, 2018

Force Moodle to show course descriptions

We ran into an issue where course descriptions were no longer displayed if the number of courses in any given category reached 10.
I tried playing with various settings, and nothing worked. Supposedly, this is an option in Moodle 2.2. As of this writing, we are running 2.1.2. My fix came from a post I found on the Moodle.org site, dated 2006! And, THIS worked perfectly:

Thanks for this link, as it has also helped us to 'force' the Course Description display.
In our system, increasing COURSE_MAX_SUMMARIES_PER_PAGE from 10 to 25 in /course/lib.php did the trick i.e.
//define('COURSE_MAX_SUMMARIES_PER_PAGE', 10); // courses
define('COURSE_MAX_SUMMARIES_PER_PAGE', 25); // courses
Cheers
Geoff (Rowland)
Moodle forum link: http://moodle.org/mod/forum/discuss.php?d=56358

No comments:

Post a Comment