Hello,
How to hide sub categories in moodle front page??
Please tell me if any one know?
I tried to edit this code in index.php. But no success. If any one know please tell me.
case FRONTPAGECATEGORYNAMES:
print_heading_block(get_string('categories'));
print_box_start('generalbox categorybox');
print_whole_category_list(NULL, NULL, NULL, -1, false);
//print_whole_category_list(NULL, NULL, NULL, -1, false);
print_box_end();
//print_course_search('', false, 'short');
break;
case FRONTPAGECATEGORYCOMBO:
print_heading_block(get_string('categories'));
print_box_start('generalbox categorybox');
print_whole_category_list(NULL, NULL, NULL, -1, true);
print_box_end();
print_course_search('', false, 'short');
break;
case FRONTPAGETOPICONLY: // Do nothing!!
break;
Courses and course formats
How to hide sub categories in moodle front page??
This discussion has been locked so you can no longer reply to it.