phil : adding a professor to dept site
EW is adding new sessionals and prof-specific course descriptions to the department website. She had little problem creating new course descriptions for existing professors, but of course didn't know all the details for creating a new professor. Had a couple of minor errors introduced in the courses_taught.php update, which had catastrophic results, but were fairly easily fixed.
Here's the full procedure when a new person is added to the department.
in your FTP program (FileZilla), Edit inside the people folder :
- create a folder for the person, using their last name in lower case (e.g. "wick")
- copy (rather than move) the index.php file from people/prof1/ into the people/wick/ folder
in a text editor, Edit the people/wick/index.php file :
- replace one instance of "proflastname" with the professor's last name in lower case
- replace two instances of "profname" with the professor's full name in normal case
in Contribute or a text editor, Edit the file people/wick/index.php :
- edit the content of the page
in a text editor, Edit the file includes/course_listing/courses_taught.php :
- copy the five-line block of code for professor xxxxx
- paste it just after the last name on the list
- replace xxxxx inside the single quotes inside the square brackets on each line with the prof's lastname in lower-case
- replace Xxxxxx, x inside the double-quotes on the first line with the prof's display name
in a text editor, Edit the file includes/secondaryNavbar.php :
- add an entry for the person.
in a text editor, Edit the file people/index.php :
- add an entry for the person
in an FTP program, Edit inside the folder people/wick/ :
- create a folder called "courses"
- create a folder called "cv"
In the folder people/wick/cv/ :
- if you upload a file called cv.pdf, then a link to that file will appear on the person's page
And here's the procedure for each new course:
in an FTP program, Edit inside the folder people/wick/courses/ :
- create a folder for each course that person teaches and name it the number of the course (e.g. "330")
In the folder people/wick/courses/330/ :
- create (or copy) a plain text file called description.inc (that is the text of the professor-specific details of the offering that appears on the courses page and on the professor's page).
- If you upload any other files into the 330 folder, it's name will appear and a link to it will appear at the end of the description.
in a text editor, Edit the file includes/course_listing/courses_taught.php :
- add the course number to the appropriate line in that professor's block (course number goes in quotation marks and is separated from previous course number by a comma - see example in file)