Currently it is possible to add instances of all activity modules on the site front page. However unfortunately many modules behave unpredictably on the site front page because it is not quite clear who should be considered to be a student and who should be considered a teacher on the site front page. The front page is internally a course with the id='1'
These are the possible conventions for who is a teacher on the site front page:
- Everyone who is teacher on at least one course,
- Only teachers for course '1' (including the admin),
- Only admins.
These are the possible conventions for who is a student on the site front page:
- Everyone who is a student in at least one course,
- Only students explicitly enrolled for course '1',
- Every site user.
The forum module is using convention 2 for teachers and 3 for students. This seems reasonable and convenient. Shall I try to convert as many of the activity modules to this convention as possible? Or are there any modules that should use a different convention?
Making all activity modules work consistently on the site front page will involve some effort with some modules because rather than using a datatlib function to determine teachers and student they access the user_students and user_teachers tables directly. Perhaps there are some modules that we will never need on the site front page? How about workshop and exercise modules for example? Shall I just disable them on the site front page? Any others?