Decorative image
Valid XHTML 1.0 Transitional
Web, Workstation & Digital Consulting Services
Yale University Library Web, Workstation & Digital Consulting Services
Using Library Customizable Templates
** Click the link on the top for instruction to use library Templates.

In order to take the advantage of global change throught style sheet, we integrate several common parts to specific includes, so once it is setup by indiviudal site, it will change only when you need to do global change. The following instruction is only for Library Customizable Templates p_home.html and p_sub.html

One time setup


*Note: see "How & How To" for the images setup.
  1. Create a Templates folder in your site. sample: /wsg/Templates
  2. Copy dept_p_footer.html, dept_p_header.htm, dept_p_style in /fdincludes_xhtml to your Templates folder
  3. Open dept_p_footer.html with text editor, change the contact information for your site, and save it (you can save with different name if you have more contact person / group for different web page)
  4. Open dept_p_header/html, change the image (make sure have the right size of image) and link information for your site, this is the setup for your sub page. If you have more home pages in your site and want to have similar global setup, do the same setup as this sub headet
  5. Open dept_p_style.html, choose the style sheet for your prefer color scheme, add extra link if you have your own style sheet
    • yul_layout.css and yul_print.css, yul_01.css etc is under /fdincludes_xhtml, so using href="/fdincludes_xhtml/yul_layout.css"
    • your style sheet will be under /yoursite/Templates, so the href="/yoursite/Templates/yourstyle.css"
  6. Make sure use the right path for these 3 includes on your page, which will be href="/yoursite/Templates/dept_p_style.html"

Start to use p_sub.html

**You probably don't need to use p_homt.html, unless your want to update your home page, take the advantage of no image link.

Once above 3 files been setup (save it as template for your site), now you just need give your page a title, setup the main link and sublink menus (add class="active" to show active page), and the page content with plain text (information data) and some basic html tags.

If you need more style setup for your page, you can either set at external style sheet, style tag in <head></head> or inline as mentioned here.

Last step is to validate your page. Check top links to more about using library template, Style setup and xhmtl validate

Yale University Library