Number of courses on the frontpage, Adaptable

Number of courses on the frontpage, Adaptable

by Cécile Deruy -
Number of replies: 2

In Moodle 3.1.6 with Adaptable 1.3.3.1, the frontpage displays only 20 courses even when the user has more courses enrolled.

The limit is always 20, I tried to change the limit in "coursesperpage" parameter (in Appearance / Courses), with no result, the list continue showing only 20 courses.

The parameters in  "Frontpage settings" are 200 for "frontpagecourselimit" and "unlimited" for "maxcategorydepth".

The "Courses" bloc shows correctely the entire list of enrolled courses.

I wonder if the problem is linkeds to Moodle or Adaptable and what can I do to display all the courses on the frontpage. Thank you if you can help me on this point!

Average of ratings: -
In reply to Cécile Deruy

Re: Number of courses on the frontpage, Adaptable

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

The number of courses displayed in "My Courses" is set by default to 20 and it is actually hardcoded.

See https://bitbucket.org/covuni/moodle-theme_adaptable/src/5d0cdcee610a61b192c31060c15fd5fb6b982af6/renderers.php?at=master&fileviewer=file-view-default#renderers.php-393

 

It is not scheduled to convert this value in a setting but you can create a request in Adaptable website: https://adaptable.ws/overview/requests

If the request gets enough votes then will be added in coming versions.

In reply to Fernando Acedo

Re: Number of courses on the frontpage, Adaptable

by Cécile Deruy -

Thank you, I will do te request and, in the meantime, modify the PHP code.