General help

Hide Category from Students

 
 
Picture of Tom Ramsden
Hide Category from Students
 
I am currently in the process of making a Moodle site for both Students and Teachers.

I have set up several subject areas for the Students which is all good and well, but now I need to create a Category which is only obtainable by Staff.

Is it possible to do this at all?

I know that it is possible to enrol Staff into the individual Courses within the Category after locking it with an enrolment key. Although ideally I would like the Category itself hidden so it prompts any one who isn't a member of staff with an error message.

Thanks,

Tom.
 
Average of ratings: -
Picture of Tom Ramsden
Re: Hide Category from Students
 
Excuse my noob mistake.

Simply clicking the Eye for that category disables anyone viewing it.

Then adding staff to a specific role with 'See hidden categories' appears to work a treat.
 
Average of ratings: -
Head
Re: Hide Category from Students
Group Particularly helpful MoodlersGroup Testers
No real need to do that with role; you can set "Allow visible courses in hidden categories" to yes in "Administration >Front Page >Front Page settings" which would let you have the staff only courses in a hidden category, password protected with an enrolment key. Once you enrolled your staff into these courses, they would appear on their "My Courses" menu; no need to muck around with roles!
 
Average of ratings: -
Picture of Tom Ramsden
Re: Hide Category from Students
 
Oooo, thanks for that Jon.

Just a quick follow up to that solution. Am I right in thinking that if I do it that way it will totally bypass access to the Category page itself for the users?

And instead they'll only be able to view the courses within the hidden category which they're enrolled on, and not the Category page itself?

I have created a grid like system to link in to the categories you see (below), as I don't like pages of text alone.



For Staff I intend to have several boxes leading to the courses for Staff Handbooks, CPD Information, Help Sheets, Health & Safety etc.
 
Average of ratings: -
Head
Re: Hide Category from Students
Group Particularly helpful MoodlersGroup Testers
Umm not too sure on that one.. Give it a go and see what happens! Be sure to let us know though wink

Jon
 
Average of ratings: -
Picture of Tom Ramsden
Re: Hide Category from Students
 
I've had a little play around with assigning a test account to different roles.

It appears to work how I had imagined.

So if you hide a Category and place a Course within the Category. Anyone assigned to that Course will be able to get to the Course perfectly fine as long as "Allow visible courses in hidden categories" is checked.

But they won't be able to view the Category page itself unless they have it defined in their role that they can view hidden categories.

Looks like I'll have to go back to my initial plan and duplicate non-editing teacher with the addition of View hidden categories and then alter their roles further within the courses if they need editing rights etc.

(I generally don't trust teachers all that much not to upload a load of crap so I'm keeping it on a tight leash :p)

Thanks for your responses too Jon.
 
Average of ratings: -
Picture of rupert mackenzie
Re: Hide Category from Students
 

Hi Tom I wonder if you would be able to help with a hidden category, visible course but not being able to upload images since access denied to image library.

Access is fine if the category is not hidden. I want to keep the course development hidden until it is ready that's all.

I would just ftp and adjust the source, but a teacher is creating it without html skills, so do you think there is a way around it at all?

Many thanks for your help,

Ruppey

 
Average of ratings: -
Sketch...
Re: Hide Category from Students
Group Particularly helpful Moodlers

FYI, this won't work in Moodle 2. As per MDL-26002 the "Allow visible courses in hidden categories" option has been removed from Moodle.

 
Average of ratings: -