Phil dept show summer course listing
Posted by sarneil on 29 Jul 2008 in Activity log
To make the course offerings for the summer session not appear on the phil website, I commented out some code in courses.php and graduate_courses.php. To re-enable the display of summer courses:
1) find the "start of summer" comment
2) uncomment the two to five lines of html just below the copy of these instructions inline in those files
3) uncomment the print($summer_buffer); line at the end of the php
4) uncomment the javascript block containing the call to hide_all_courses
You will also have to make a duplicate of the 2008 folder in course_listing/course_handouts, name it 2009 and then create (or delete) the appropriate folders and files in each professor's subfolders, because the code in courses and graduate_courses will be looking for those folders and files for include files with details on each prof's course offerings.
You may also have to modify some of the values in course_list_generation.php. Depending on when you want to start displaying the summer courses, you may need to change the values for the folderYearForSummer variable