General developer forum

 
 
Picture of James Henestofel
Re: Mass showing and hiding of courses within a category
 

Nikhil,

If you aren't looking for showing and hiding courses at all.  Just change the code to change the visibility of the categories instead of the courses.

 
Average of ratings: -
Picture of nikhil pednekar
Re: Mass showing and hiding of courses within a category
 

Hi James,

I m very new to Moodle and I have been given task to hide categories to students for which they are not enrolled.

Means 'When a user is assigned to one or several cohort, he can see only course/categories of his cohorts'

Is this possible???

Please let me know.

 
Average of ratings: -