Description

If a course is set to not allow self enrollments, but allow guest access, a guest user still sees the "Enrol me in this course" link in the Setting block, under Course Administration. If they click the link, they are greeted with a very disappointing "This course is not enrollable at this time" message. Instead that useless link should not show up. Screenshots are attached.

Jay Knight
added a comment - 14/Jul/10 12:25 AM So, I guess you can't just hide it based on that option, because there may be other interactive enrollment methods/plugins? But it seems like you could check that as well?

I've attached a wannabe patch to MDL-23548 that uses this code to hide some courses altogether if you can't do anything with them. It probably needs some more thought but it portrays the idea. Thoughts?

Jay Knight
added a comment - 20/Aug/10 2:25 AM I've attached a wannabe patch to MDL-23548 that uses this code to hide some courses altogether if you can't do anything with them. It probably needs some more thought but it portrays the idea. Thoughts?