Moodle 1.5 compatible Course Program block by Mark Nielsen at the CDC.

What does this block do?
1.  Can program when sections/resources/activities become visible or invisible to students.
2.  Can program dates for assignments, choice, exercise, forum, glossary, lesson, and quiz.

HOW TO INSTALL (FOUR STEPS!)

1.  Move block_course_program_1.5/blocks/course_program folder to blocks/ directory

2.  Move the following lines of code to course/view.php from block_course_program_1.5/course/view.php:

Lines 49-60 in block_course_program_1.5/course/view.php need to be moved over.  NOTE: A section of this code is commented out on purpose.  One can choose the criteria for determining when the code for the course_program should run.  Read the comments to determine which method you would like to use.

Lines 87-92 in block_course_program_1.5/course/view.php need to be moved over.

Lines 97-102 in block_course_program_1.5/course/view.php need to be moved over.

3.  Move the following lines of code to course/mod.php from block_course_program_1.5/course/mod.php:

Lines 271-273 in block_course_program_1.5/course/mod.php need to be moved over.

Lines 305-307 in block_course_program_1.5/course/mod.php need to be moved over.

4.  Go to http://yourmoodlesite.com/admin/ to install the block.

That's it!
