Skip to content
Jeff Gordon edited this page Feb 4, 2015 · 24 revisions

Table of Contents

Introduction

Site configuration is done in three areas:

  • index.shtm files (site and section options)
  • nav folders (navigation and search options)
  • content pages (page options)

index.shtm Hierarchy

index.shtm files are hierarchical and processed top to bottom based on the URL. For example, for the URL: http://example.org/foo/bar/page.htm, the following index.shtm files will be loaded in this order:

  1. http://example.org/index.shtm
  2. http://example.org/foo/index.shtm
  3. http://example.org/foo/bar/index.shtm
When the same variable is defined in more than one of the processed index.shtm, the last value loaded in the chain is taken as the actual value.

Site

Set in index.shtm files and shown in the header of content pages. Applies to entire site.

  • Title: site-title-(lang) variable
  • Title link: site-href-(lang) variable

Section

Set in index.shtm files and shown on splash pages and in breadcrumbs. Applies to pages in the same folder as the index.shtm file and all its recursive subfolders.

  • Creator: sect-creator-(lang) variable
  • Date issued: sect-modified variable
  • Date modified: sect-modified variable
  • Nav folder location: sect-menupath variable (path to navigation and search options folder, see below)
  • Subject: sect-subject-(lang) variable
  • Title: sect-title-(lang) variable
  • Title link: sect-href-(lang) variable

Navigation and search

Set in nav folders and shown in the template area of content pages. Applies to all pages within a section (see above).

  • Footer menu: nav/footer-(lang).shtm
  • Primary menu: nav/menu-(lang).shtm file (top level items only) and nav/ajax/sitemenu-(lang).html (complete menu with dropdowns)
  • Search form: nav/search-(lang).shtm
  • Secondary menu: nav/sec-(lang).shtm

Page

Set in each page and shown in the content area of the page. Applies to a single content page only.

  • Creator: pg-creator-(lang) variable
  • Date issued: pg-issued-(lang) variable
  • Date modified: pg-modified-(lang) variable
  • Language: pg-lang1 variable
  • Secondary navigation: pg-sec variable (optional, path to an HTML location)
  • Subject: pg-subject-(lang) variable
  • Title: pg-title-(lang) variable
Clone this wiki locally