here's the scenario:
There is a free course and an enrollable course. After the student is enrolled by entering the enrollment key, then only, in the front page I am able to see the list of courses(without categories) - My courses block(before enrolling with enrollment key, even when I selected "List of courses" in "Front page items when logged in" field in front page settings page, combo list was getting displayed). But I am not able to see the free course in the list. and I also want the student to see only the list of courses before he/she enrolls in a course. Can any one please help?
I am struggling with the same problem.
Teachers can see only a list of courses that they are enrolled in but I just logged in as a student and they are presented with all categories and courses - well the visible ones. \
I want them to only see the courses they are enrolled in. I have quite literally tried everything - I don't want to use MyMoodle. Have also added the courses block but it displayed the categories.
The annoying thing is that it is working perfectly for teachers!
Pulling hair out...
- students are only assigned in the course and are NOT assigned globally, ie via site admin>users>permissions>assign system roles
- your default user is "authenticated user" and NOT student in site admin>users>permissions>site policies?
As I understand it, students NOT enrolled in ANY course WILL see every course on the front page.
So, another question to pursue is whether your "typical" student is actually enrolled in at least one course.
Our solution to "A student sees everything" is to make sure that student is enrolled in at least one course.
I experience the same behavior and I don't recall having this in previous versions of moodle (prior to 1.9). I think this should be considered a bug. Students who aren't enrolled in any course should not be seeing every single course under "My Courses" on the front page.
I've created a quick fix for my installation which involves editing the source code - I can post it here if anyone is interested.
Brad
Well then I guess it was always this way. I didn't remember it being like that, but I haven't used moodle for a couple of years until recently (so this was probably an earlier version than 1.8). Anyway, thanks for checking that. I created a very small hack (2 lines) though I realize I will have to keep hacking each new version.
Brad
Hi Brad,
I'd appreciate if you could post your solution.
SB