LSTA EAD stylesheet installation instructions

For hosts using Contentdm

Prerequisites

Quick Install

Warning: Do NOT do the Quick Install if:

  1. Make a backup copy of [Contentdm document root]/cdm4/includes/basic_view.php.
  2. Copy the contents of the Contentdm/cdm4/ directory to your server's [Contentdm document root]/cdm4/ directory, overwriting /cdm4/includes/basic_view.php when asked.
  3. Skip to step 2 of the "Set up Contentdm modification" section.

Copy CSS and Image files

  1. Copy the Contentdm/cdm4/ead_css/ directory to your server's /cdm4/ directory.
  2. Copy the Contentdm/cdm4/ead_images/ directory to your server's /cdm4/ directory.

Copy XSL Transform files

Set up Contentdm modification

  1. Merge Contentdm/cdm4/includes/basic_view.php from this package with your current [CDM document root]/cdm4/includes/basic_view.php .

    Be sure to make a backup copy of your current basic_view.php first!

  2. Configure basic_view.php
  3. [optional]: Modify the ss-committee-container.xsl file to ensure the container list meets the needs your institution.
  4. [optional]: Modify the stylesheet-committee.css file to reflect your institution's branding.

For hosts not using Contentdm

It's assumed that these hosts already know how to apply an XSL stylesheet to their EAD items, using SAXON or some other XSL processor.

  1. Copy the ss-committee.xsl and ss-committee-container.xsl files from the /non-Contentdm directory to your desired XSLT directory.
  2. Copy the stylesheet-committee.css and stylesheet-committee-IE.css files from the /non-Contentdm/ead_css/ directory to your desired, web-accessible CSS directory.

    Note: If you are displaying your EAD files in another content management system its CSS may interfere with the desired EAD display. If this is happening, try using the stylesheet-committee.css file from the /Contentdm directory. This copy uses more specific CSS selectors which minimize interference from other stylesheets, but also make it more difficult to override its rules.

  3. Update the <link> tags in ss-committee.xsl to ensure that the href attribute reflects the correct location of the .css stylesheets.
  4. Copy the contents of the /non-Contentdm/ead_images/ directory to your desired, web-accessible image directory.
  5. Update the image URLs in stylesheet-committee.css to reflect the directory chosen in the step above. There should be seven (7) references, all of which start with /ead_images/.
  6. [optional]: Modify the ss-committee-container.xsl file to ensure the container list meets the needs your institution.
  7. [optional]: Modify the stylesheet-committee.css file to reflect your institution's branding.