Hi!
Very nice theme, but we have a performance problem in our Moodle installation (~6500 courses, ~500 course categories).
When guest user accesses the course page, then the top menu wants to show all courses from Moodle. That makes the page run out of PHP maximum execution time (30 seconds). Also the Javascript, that handles the top menu will make the browser freeze for about 40 seconds (when I increase the PHP max_execution_time parameter).
Fortunately there is a theme setting coursesloggedinonly, but this still adds courses for the quest user.
So i suggest that this setting would also hide courses for the guest user by chancing renderers.php line 283:
$hidecourses = (property_exists($PAGE->theme->settings, 'coursesloggedinonly') && $PAGE->theme->settings->coursesloggedinonly && !isloggedin());
to
$hidecourses = (property_exists($PAGE->theme->settings, 'coursesloggedinonly') && $PAGE->theme->settings->coursesloggedinonly && (!isloggedin() || isguestuser()));
Anyway, thanks for a great theme!
Hi!
Very nice theme, but we have a performance problem in our Moodle installation (~6500 courses, ~500 course categories).
When guest user accesses the course page, then the top menu wants to show all courses from Moodle. That makes the page run out of PHP maximum execution time (30 seconds). Also the Javascript, that handles the top menu will make the browser freeze for about 40 seconds (when I increase the PHP max_execution_time parameter).
Fortunately there is a theme setting coursesloggedinonly, but this still adds courses for the quest user.
So i suggest that this setting would also hide courses for the guest user by chancing renderers.php line 283:
to
Anyway, thanks for a great theme!