Courses and Categories Lists Overview in 2.4: Difference between revisions
No edit summary |
No edit summary |
||
Line 96: | Line 96: | ||
[[File:courses1e.png|frame|center]] | [[File:courses1e.png|frame|center]] | ||
==Category== | |||
If user follows link /category/index.php under each category name | |||
Admin | |||
[[File:category1.png|frame|center|Edit tool bar]] | |||
Student | |||
[[File:category2.png|frame|center|Edit tool bar]] | |||
Guest | |||
[[File:category3.png|frame|center|Edit tool bar]] | |||
Admin in edit mode inside category | Admin in edit mode inside category | ||
[[File:courses1ec.png|frame|center]] | [[File:courses1ec.png|frame|center]] |
Revision as of 07:34, 17 December 2012
In 2.4 we have several different methods displaying list of categories/courses:
Front page
List of courses on front page
Setting:
Admin can see:
Student can see:
Not logged in user can see:
Note: student can see "Weekly course" (located in subcat1), but admin and not logged in can not (bug?)
Note: student can see remote courses in different format than local courses
Note: if isset($CFG->disablemycourses) student will see the same as guest
if the number of courses > FRONTPAGECOURSELIMIT (constant = 200), courses will not be displayed, just the course search form
List of categories on front page
Setting:
Admin can see:
Student can see:
Not logged in user can see the same as student because in my example student is enrolled in all courses
Combo list on front page
Setting:
Admin can see:
Student can see:
Not logged in user can see:
Note: looks like the most attractive format, BUT student can not see remote courses. And there is no functionality to show only remote courses
Summary
$CFG->maxnumcoursesincombo (default 500) is the maximum number of courses to print in combo form, otherwise the link is shown (for admin, students and guests, regardless on number of available/visible courses):
My moodle
If empty($CFG->disablemycourses) students will see "My courses" link instead of "Courses". But only in navigation!
All courses
Link /course/index.php appears quite often. If number of courses is less than 200 (in some places in code it is replaced with constant FRONTPAGECOURSELIMIT), it will show the list of categories with courses (see examples below). If number of ALL courses is more than 200, then regardless of number of courses visible to the user, there will be just a category tree (the same as in "list of categories on the front page").
Admin
Student
Guest
Admin in edit mode
Category
If user follows link /category/index.php under each category name
Admin
Student
Guest
Admin in edit mode inside category