unable to display courses in combo list mode on the front page

unable to display courses in combo list mode on the front page

by Borka Khan -
Number of replies: 2
Hi!

We have a medium-sized installation of Moodle (150 university courses) and they were all displayed on the front page in the combo list mode (all categories and all courses visible in the format

CATEGORY 1
course 1
course 2
....
CATEGORY 2
course 1
.....


Last week, I added yet another category to about 30 existing ones. This caused the front page to go into categories mode (where only categories are visible, with no courses under them), and you have to click on the category to see any course. The settings for front page is on "combo list" yet it seems to be ignored.

We are running 1.9.2

Any idea what may be causing this issue, and how this can be fixed? Any help will be greatly appreciated!



Average of ratings: -
In reply to Borka Khan

Re: unable to display courses in combo list mode on the front page

by John White -
Borka,

What you see depends on who you are and thus how many courses you have rights to. You may want to log on as a student (or a teacher) and see whether the combo view works then.

You may also like to take a look at /course/lib.php and the setting for FRONTPAGECOURSELIMIT near the top of that file.
There may also be settings in config.php (e.g. $CFG->coursesperpage or $CFG->max_category_depth), or,
'coursesperpage' in Site Administration->Front Page->Front Page Settings that affect this.

Regards,

John
In reply to John White

Re: unable to display courses in combo list mode on the front page

by Borka Khan -
Thanks a lot for your reply, John!! It looks like the problem was the FRONTPAGECOURSELIMIT setting which is set to 200, and we have over 200 courses. Thanks a bunch!! smile