Conditional Release of Topics/Weeks

How to show/hide upcoming topics and weeks with conditions

Last Updated: July 13th, 2023

This article will show you how to create conditions to automate and automatically show/hide to upcoming topics/weeks in your Moodle course for specific students, groups, and the entire class.

Make sure course editing is turned on then click "Edit week” on the section you want to add the conditions to.
Section in moodle with edit week highlighted.
Scroll down the page and expand the “Restrict access” option.

To change the setting for an individual student:

  1. Add 2 restrictions; the first will allow a specific student to access it immediately after you make it visible. The second will allow the rest of the class to access it instead of the instructor manually making it visible at the beginning of the week.
  2. Add the student first:

    You can use any profile field — email or L# is preferred.


    You must click the eye ball to HIDE the criteria from students. If you don’t, students will see the note of “Only L0000000 can access this section till date _____ “ 
    👆 not something you want show to the entire class!

  3. Next add your date requirement. It should be the date that ALL students gain access.
  4. Change the “match all” to “match any”. When done, it should look something like this:
  5. Hit “save”.
  6. Finally — unhide the week - it’ll remain hidden according to the rules and you should see a notice on the week that looks something like this:
    Week in moodle shown with user restrictions and date restrictions.
  7. If you don’t see the restriction parameters, you missed unhiding the week and it only shows that it’s hidden from students (all students)
Week in Moodle showing that it is hidden from all students.

To change the settings for a group:

  1. Follow these instructions on setting up groups.
  2. Follow the same steps for "to change the setting for an individual student" above but instead of “user" choose “group” instead.
  3. Follow the rest of the steps from "to change the setting for an individual student"


Was this article helpful?