Contents
Cal Poly Pomona

Department Roster

Quick Start Guide

  1. Go to http://www.csupomona.edu/cgi-group/webteam/cgi-bin/roster.pl. There is a drop-down list of (mainly) academic departments, a check box for including office location, and select buttons to restrict the roster to faculty, to staff, or not to restrict it at all. Select the options you want and click "Submit".
  2. The results page will have two parts. At the top is a field that contains the HTML you should insert in your web page. At the bottom is the table that will be generated by that HTML.
  3. Copy the entire contents of the field (one way is to click inside it and type Ctrl-A) and paste it into your HTML document, at the position where you want the roster table to go. The HTML document file name must end in .shtml or .shtm in order for the roster script to work (for example, roster.shtml).
  4. On your local machine, it will appear that nothing is there, but when the file is viewed from its uploaded location on the Intranet, the code you inserted will be replaced by the roster table.
  5. Here is an example from the Biological Sciences Department.

 

Advanced Features

Other Departments

Even if your administrative unit is not in the drop-down list, you can still hand-edit the HTML code to produce a roster. First, you need to see how the unit is listed in the LDAP. Go to the People Search, enter a person you know is in that unit, and see how the department is listed.

Notice that the HTML code includes a part that says "department=", followed by the name of the department. Insert the appropriate unit name there. It must be "URL-encoded" to replace spaces and "unsafe characters". You can use the field below to convert it:

String:

(If you need more complex URL-encoding, use this page.)

2006-10-04