This block makes it possible to show/hide course sections (topics or weeks) or activities within sections automatically, based on the date and time. Includes english and polish localizations.
This plugin installs as a block, though you do have to make a little change to format.php files to your topics and weeks course formats (details in the reademe.txt).
If you want to program a course, add the Course_program block. This will create a block which will only show up to teachers, and only when editing is turned on.
In the block is a link: Course Program. Click this and you get a display of all sections (weeks or topics) in your course with date/time drop downs. Set a date and time and the section will be shown/hidden (using the 'eye' functionality) based on the date/time.
To program activities within a section, click the section's name and it will open a sub-menu with all the activities, set date/times as above.
If the block is enabled, the 'eye' will have no effect in that course. To re-enable the 'eye', delete the block.
Only courses with the block added will have this effect, in other courses the eye works normally.
The course has to be set to NOT display hidden sections (in course settings).
this block was originally created in 2004 by by Mark Neilson (Humboldt State University) for moodle 1.3 (http://moodle.org/mod/forum/discuss.php?d=12339)