Three-state logic

When I first implemented the setting reset functionality of Collapsed Topics (CT), it allowed you to reset the settings of the course to the defaults as set by the administrator at the time. The reset functionality applies to the current course or can be applied to all courses by the administrator if desired. But this has the downside that when the defaults change then whole groups of settings need to be ‘reset’. What if you wanted to be able to only have one setting track the default? This is where ‘three-state’ logic comes in.

Read more