Skip over navigation

Variables

Below is a list of standard variable options for the “dept” Roxen instances. One would add or edit them in the site’s variables.xsl file.

The code takes the following form:
<xsl:variable name="example-variable" select="1" />

Notice the additional single quotes for text values in the select attribute:
<xsl:variable name="another-variable" select="'foobar'" />

dept-root
Site's root path, with trailing "/" (e.g. "/abc/")
site-root
Alias for "dept-root"
page-dir
Current directory
toolbar-file
Location of the toolbar menu file (default: /site-root/menu-toolbar.xml)
quicklinks-file
Location of the Quick Links file (default: /site-root/menu-quicklinks.xml)
banner-logo-file
Location of the banner logo file (default: /site-root/banner_logo.png)
custom-css-file
Location of the custom CSS file (default: /site-root/css/custom.css)
custom-print-css-file
Location of the custom print stylesheet CSS file (default: /site-root/css/custom_print.css)
custom-handheld-css-file
Location of the custom handheld stylesheet CSS file (default: /site-root/css/custom_handheld.css)
custom-rss-file
Location of the custom RSS file (default: /site-root/rss/feed.rss)
custom-js-file
Location of the custom JS file (default: /site-root/js/custom.js)
stat-id-string
Google Analytics User-Agent string (e.g. 'UA-1234567-1')
quicklinks-label
Label for the quick links dropdown (default: 'Quick Links')
searchbox-label
Label for search box (default: 'Search')
site-theme
Site's theme (default: 'default')
Examples include
(Fauver - Original: 'fauver')
(Fauver - Brown: 'fauver-brown')
(Fauver - Deep Purple: 'fauver-deeppurple')
(Fauver - Olive: 'fauver-olive')
(Inventive - Original: 'inventive')
(Inventive - Bright Orange: 'inventive-brightorange')
(Inventive - Teal: 'inventive-teal')
(Inventive - Warm Orange: 'inventive-warmorange')
(Noor - Original: 'noor')
(Noor - Plum: 'noor-plum')
(Noor - Sienna: 'noor-sienna')
(Tigers: 'tigers')
(Tux: 'tux')

site-name
Name of the site (default: blank)
title-text
Text that shows up on the title grab bar (default: 'Variables')
title-separator
Separator string between site-name and title-text (default: '-')
banner-text
Default 'alt' text for the banner image (default: 'Princeton University'); also part of a hidden h1 in the #bannerlogo that can be unhidden and used for a text-only bannerlogo 
banner-subtext
If used, appears in a hidden h2 in the #bannerlogo that can be unhidden and used for a text-only bannerlogo
banner-link
Where the banner photo link should go (default: dept-root)
footer-text
Text for the footer (default: blank)
navalpha-show
Show/hide toggle for navalpha (default: 0)
navbeta-show
Show/hide toggle for navbeta (default: 1)