Directory Variables
For information on setting directory variables for your site or folder/section, as well as built-in directory variables in Modern Campus CMS, visit Directory Variables (Modern Campus CMS Support). For the Business and College templates, visit OU Campus Directory Variables (Word doc in SharePoint).
Directory variables can only be set by account administrators.
Changes to directory variables will only be reflected when pages are republished.
Crimson Directory Variables
Section / Site Customization
breadcrumb-prefix-text
The text to display in breadcrumb placed before the root breadcrumb. This breadcrumb will only be displayed when both breadcrumb-prefix-text and breadcrumb-prefix-url are set. If breadcrumb-show-sdsu is also used, this breadcrumb will be placed after the SDSU breadcrumb.
breadcrumb-prefix-url
The URL to which the breadcrumb (before the root breadcrumb) is linked. This breadcrumb will only be displayed when both breadcrumb-prefix-text and breadcrumb-prefix-url are set. If breadcrumb-show-sdsu is also used, this breadcrumb will be placed after the SDSU breadcrumb.
breadcrumb-show-sdsu
If this variable is set to a non-empty string, an SDSU breadcrumb will be included before any other breadcrumbs.
dir-css
The URL (root-relative or absolute) of a CSS file to load just before the closing tag of the head element.
header-include-path
Root-relative URL for the header include file (sets the main menu). Default is /_resources/includes/crimson/header.inc. To use the header from the www site, set this to /_www_includes/crimson/header.inc.
hero-image
The URL (root-relative or absolute) of an image file to use as the default hero image for any pages on the site which don't have their Hero Image set, but have their Banner Content set to Image or Short Image. Will be overridden if a value is provided in the Hero Image parameter of the section's _props.pcf.
hide-tags
Specify one or more Tags (comma-separated) which will be hidden on any News Articles in the section. Will be overridden if a value is provided in the Hide Tags parameter of the section's _props.pcf or in the News Article itself.
language-code
The language code used in the lang attribute of the page's html element. Default is en. Visit Declaring language in HTML (on the W3C website) for more information.
news-listing
The URL (root-relative or absolute) used for author links on news articles. Default is /news.
pre-footer-include
Root-relative URL for the pre-footer include file. Default is /_resources/includes/crimson/pre-footer.inc.
site-page-title
When the page is published, the page's title will be generated using the page title in the page's properties and the site-page-title, in the format page-title | site-page-title. Default is SDSU.
Social Media / Marketing / SEO
facebook-app-id
Set the Facebook App ID used when the Facebook JavaScript SDK is inserted into the page.
facebook-pixel-id
Add a Facebook Pixel to the pages within the section and register it for PageView tracking with the provided ID. Using this method rather than attempting to manually add the Facebook Pixel code to the page ensures that the code is placed in the correct locations and that the Facebook SDK is only loaded once when using Facebook functionality provided by the templates.
google-tag-manager-id
The Container ID for your Google Tag Manager container. This field should not be used if you are using the campus-wide Google Tag Manager implementation (which is already included in the Crimson templates). The script for Google Tag Manager will be placed in the page's head element and a noscript element will be placed after the opening tag of the body element using the provided ID.
load-facebook-root
If set, the Facebook JavaScript SDK will be added to the pages within the section regardless of whether Facebook functionality has been detected on the page. This is primarily intended for development and debugging when adding support for new functionality that requires the SDK. Please open a ticket in Service Now if you believe you need to use this directory variable. If you no longer need this functionality in a section/folder, remove the directory variable and republish the pages.
Faculty/Staff Directory
The following fields control the display of fields in the header of profile pages in the faculty directory module. Each can be set to false to hide the field. To show the field, set the value to true or remove the directory variable (other values should be considered unsupported and the behavior of those values is undefined).
These values may be overridden by parameters set in a section's _props.pcf or on the page itself.
directory-show-department
Set to false to hide the Department in the header of the profile page.
directory-show-division
Set to false to hide the Division in the header of the profile page.
directory-show-region
Set to false to hide the Region (sometimes referred to as Campus) in the header of the profile page.
directory-show-title
Set to false to hide the Title in the header of the profile page.
directory-show-unit
Set to false to hide the Organizational Unit in the header of the profile page.