| Home > Rules > How The Site Was Built |
How The Site Was Built |
How the Site is BuiltThis site was built in Macromedia's Dreamweaver using templates and Cascading Style Sheets. Templates were used in construction to the control common elements of every page throughout the site. Cascading Style Sheets were used to control the display of copy. Folder/DirectoryStructureFor best results, this new site should be edited in Dreamweaver against a complete copy of the entire site. That copy must include all pages and directories that define the Rethinking Schools web site. This directory structure is one level higher than the "www" directory that appears on the server. The top level site directory as defined in Dreamweaver must include these folders:
Most of the files that define the web site appear in the folder/directory "www" within these sub-folders:
In addition to the folders named above, only the following free-floating files should exist in the "www" folder.
There should be NO other loose files. If new files must be added, they should "live" in the directory most applicable to the content of the file. Below is additional directory information for the most complicated directories. archiveThis directory contains all of the past issues of the Rethinking Schools journal that have been converted to HTML. Each issue lives in its own folder, titled with the volume and number of the issue. For example, "16_01" means volume 16, number 1. Inside the folder, the main directory for each issue follows the same convention. For example, "16_01.htm" refers to the main directory page for volume 16, number 1. Article pages follow a similar naming convention, based on the name of the article and the issue volum and number. For example, "Vouc161.htm" refers to the article "Top 10 Voucher Supporters" found in the volume 16, number 1 issue of Rethinking Schools. Another sub-folder, "rs_index" contains the Article Index and related pages. The main index page is "index_rs.htm". Only two files appear at the top level of the "archive" folder:
imgThis folder contains ALL GIF and JPEG files for the site in multiple sub-folders. The structure of these folders mirrors the structure of the site. There are NO LOOSE FILES in this folder. It contains only the following directories.
A few folders, like the "publication" folder are further sub-divided into other folders that match the main directory structure of the site, like "ebonics". This structure makes it easieer to find a graphic for a specific page on the site. publicationThis folder contains the order form and sub-directories for each publication. Each sub-folder contains only HTML and PDF files related to that publication. Graphics are NOT stored in here. TemplatesTemplates control common elements that occur on every page of the site or a section of pages. This makes updating the site easier. However, template editing requires use of Dreamweaver and a special set-up. Most pages are based on the base template: "RSbase.dwt" including this page. This template controls the header and footer of every page. Areas controlled by the template cannot be edited in Dreamweaver at a page level. The header includes the logo, navigation bar, site-wide search, "crumbtrail" and page title. All but the "crumbtrail" are part of a server side include. Only the "crumbtrail" and page title are editable on a page level. The footer contains the text navigation and copyright notices appearing at the bottom of the page. These elements are only editable by modifying the server side include file referenced by the template. See below for more information about SSI. Templates should only be modified in Dreamweaver against an exact and complete copy of the entire site. This copy must match the directory structure desccribed above, including templates. Editing any template will automatically modify all pages attached to that template, populating the changes through many pages at once. All of these pages will have to be uploaded to the server. WARNING: Editing pages or templates outside of Dreamweaver will break this dependency and may destroy the integrity of the Rethinking Schools web site. Cascading Style sheetsThis site uses Cascading style sheets for all type formatting. The main CSS file is: RSstyle.css DO NOT MODIFY THIS FILE. It includes defintions for how text is rendered throughout the entire site. CSS rules for Rethinking Schools SSI RulesServer Side Includes (SSI) are used for the header and footer of every page on this site. They are also used for any repeating element appearing throughout the site, such as the "Subscirbe" button and text on every Journal page. A line of code appears on every page of the site. That code tells the browser to get the contents of another file and add them to this page. That other file may contain the code for anything that is the same on every page it is used. The SSI code is part of every Dreamweaver templatae created for this site. If you use these templates, that code will be automatically included. Because of the use of SSI, every page on the site should end with the extension ".shtml" If it does not, the server will not draw it correctly. At launch of the new site, three include files were created: head.htm; foot.htm and subscriube.htm. Each of these contains ONLY the code for one small section of the site.
These files do not include the usual <html><head><body> tags because they are NOT needed. Those tags are in the host page. A change to any of these files will change the entire site. This makes changes to these parts of the site easy. It also makes these files very dangerous. They should NOT be changed unless you NEED to modify this part of the entire site.
|
Contents |
| ORDER | Current Issue | Article Index | Archives | Web Resources | Publications | Just For Fun | Who We Are | | |||||
|
© 2002 Rethinking Schools * 1001 E. Keefe Avenue, Milwaukee, WI
53212 * Phone(414) 964-9646, or (800) 669-4192, |
|||||