--
KaronMacLean
Imager Web: Maintenance Procedures
Updated July 2009
General page edits
- in general only edit content between "include("includes/top.php");" and "" The PHP code above and below control how the pages are displayed and if there is a problem then the entire page will look very weird.
The root files are currently in:
/ubc/cs/research/imager/imager/local/generic/web/new
Here is the current mapping of pages to file names (once we are certain of the page names Andre will make it a 1 to 1 mapping):
- "Home" "imager.php
- "About Us"
- "Facilities", "laboverview.php"
- "History", "history.php"
- "Finding Us", "findingus.php"
- "Contact", "contact.php"
- "News and Events", "newsandevents.php"
- "Meetings", "meetings.php"
- "Images of Imager", "photos.php"
- "People"
- "Faculty", "faculty.php"
- "Post Docs", "postdocs.php"
- "Students", "gradstudents.php"
- "Alumni", "alumni.php"
- "Staff", "staff.php"
- "Research"
- "Graphics", "graphics.php"
- "Visualization", "visualization.php"
- "Human Centered Technologies", "hci.php"
- "Publications"
- "Papers", "papers.php"
- "Theses", "theses.php"
- "Courses", "courses.php"
- "Joining Imager", "prospective.php"
Adding news and events
- Go to /includes/news.txt
- Add a list item at the top of the list. It is essential that you use the exact syntax (please copy paste): <li class='news'> your news here </li>. Any list items within your update should not have that class.
- If the news item is long please break it up by inserting <more> after a short snippet (please don't use <more> between any set of HTML tags (other than the li tags you use for the item)
- Save the file and go to the Imager website to ensure that nothing has broken.
Adding Pictures to the top right rotator
- Go to: /ubc/cs/research/imager/imager/local/generic/web/new/images/photos/rotator
- Find the folder with your name, or create one.
- Put pictures in that folder
- Go to /ubc/cs/research/imager/imager/local/generic/web/new/imageloader.js
- on line 11 there is an array called "thePics". Add items to the bottom of that array in the following format: 'yourname/filename', 'caption', 'link'
- A suggested format is that the name should be that the caption mention the paper and students while the link links to the paper.
Adding new faculty
Adding new students
Adding new publications
Theses:
- [placeholder] we could post a citation for the thesis at time of successful defense, then a web czar can update it with a link 6 months later in a batch job when doc is posted in CS archive.
Items that need to go on here somewhere:
- changing the # of non-archived events (right sidebar and NEws/Events page are set separately, but probably best to keep them at same value).
- eventually, how to unhide the alumni stuff if it indeed gets hidden (if this is at all complicated).