Time for action – increasing the number of courses displayed in a user's profile
The last setting that we will modify for now is the number of courses that are displayed in a user's profile. When you click on a user's name in Moodle, your browser is redirected to the profile page for that user where various details, including the courses the user is enrolled in, are displayed. As a default setting, Moodle will only display 20 courses for a user. If the number of courses a user is enrolled in has exceeded 20, the course list for that user will end with three dots, as shown in the following screenshot. Note, this screenshot shows only one course followed by the three dots. This is a result of the setting we are about to change being set to 1
for the purpose of demonstration.
Change the setting from the default of 20 to a higher number by following these steps:
Open the following file with your text editor:
yourmoodledirectory/user/view.php
.Look for the following line of code found on or around...