Montgomery County Public Schools, Rockville, Maryland
SEARCH

MCPS Web Services Team
Department of Communications

> MOST REQUESTED

> How To Become a Webmaster
> How To Put
Files on the Web
> Contact Us
> Frequently Asked Questions

> SUPPORT

> Training
> Webmaster Locker
> Web Regulation

>

> How To Access Tools
> Calendar
> CalendarBox Publisher
> Homework Board
> NewsBox Publisher
> Tool Central NewsBox

>

> How To Access Utilities
> Counter
> Digital Vertical File
> Feedback Form
> Search Engine
> TestPilot Survey
> Webtrends

>

> About Applications

>

> Who We Are
> Services Overview
> Best of the Web
Awards
       

WEB SERVICES > SERVICES > PUBLISHING TOOLS > DIRECTORYBOX

How To Add a DirectoryBox to Your Site
 

Purpose
The DirectoryBox Tool is a simple yet powerful Web browser-based tool that any MCPS webmaster or editor can use to easily and quickly capture the MCPS Phone Directory content for a school or department on his or her Web site. All content is managed using the Phone Directory tool by the local Phone Directory Manager.

Users
  • The school or office webmaster uses the DirectoryBox Tool to display their MCPS Directory content on the local school or department Web site.
  • The webmaster creates the server side include within the site page to display the DirectoryBox generated by the tool. This is a one-time activity.
  • The primary user of the DirectoryBox is the Web site visitor who views the Directory contents for the school or department without leaving the school or department site.
Essential Information

About the DirectoryBox Tool
The DirectoryBox tool enables any MCPS webmaster to display MCPS Staff Directory content -- including departments, names, position titles, and email addresses -- for their location on any page within his or her site. Thus web visitors can find this information for your school without leaving the school site. See sample DirectoryBox. The webmaster simply adds an include command to the page where the MCPS Directory content is to be displayed. Directory data is published nightly to a text file. Code you’ve inserted in your page’s HTML file pulls the contents of the text file into the page you see in your browser. Updated directory information would appear on the next day.

Do I need an account?
No, you don't need an account to use the DirectoryBox. All you need to know is your five-digit location number. This is displayed in the top section of your school's staff directory list.

How do I update the Directory information?
Webmasters do not update the directory information. The MCPS Staff Directory is maintained by your local Phone Directory Manager. At a school, this is usually the administrative secretary. For offices, it's usually someone at the Office level who maintains the directory for all departments within that office. You can identify who is your location's Phone Directory Manager in the online MCPS Staff Directory at the Phone Directory Managers link at the bottom of the left navigation list in the Directory. If they need assistance with updating, they can contact the MCPS Help Desk. Departments listed in the MCPS Staff Directory are defined by the Phone Directory Manager.

Where do I update my DirectoryBox preferences?
At this time there is no application (like a NewsBox or CalendarBox) to change the styling preferences for the DirectoryBox. However, you can easily add CSS to your page or to your external style sheet defining styles for the content classes of moduleheader, moduleLink, and moduleBody2 used in the DirectoryBox content. View source of the sample page to see an example of this.

Where should I place my DirectoryBox within my site?
We recommend you put the DirectoryBox on your staff page.

How do I add my DirectoryBox to my site?
Copy and paste the following code into your page in the area where you wish to include your DirectoryBox display.

<!--#include file="/schools/schooldir/99999directoryV2.txt"-->

replacing 99999 with your 5 digit school location code (such as 03237directoryV2.txt for Frost MS or 02101directoryV2.txt for Clarksburg ES)

To add text formatting as shown on the sample page attach the directory style sheet to your page. You can do this by attaching the /global/directory.css stylesheet or by adding this line of code in the source code view within the <head> section.

<link href="/global/directory.css" rel="stylesheet" type="text/css" />

IMPORTANT NOTE: Your page name must have the .shtm suffix instead of .htm or .html for the #include to work -- e.g. directory.shtm or about.shtm. If you're changing the name of your file from directory.html, you may also need to use a redirect. See how to make a redirect for more information on this topic.

What if I have a problem or question?
Contact the Web Services Team at webmaster@mcpsmd.org.

 

Updated May 30, 2007 | Contact Webmaster

HOME | PARENTS | STUDENTS | STAFF | ABOUT | SCHOOLS | COMMUNITY | BOARD OF ED | TOP up arrow
©1995–2008 Montgomery County Public Schools, 850 Hungerford Drive, Rockville, Maryland 20850
Contact | Privacy | Nondiscrimination/ADA | Get Acrobat | Get RealPlayer | Montgomery County