XUI Configuration Parameters
The configuration of the XUI is based on settings in the ThemeConfiguration.js file. This file can be found in the /path/to/webapps/openam/XUI/config/ directory. The file contains a full configuration for the mandatory default theme. Additional themes should use a duplicate of the default theme’s configuration. Any parameters that are not configured will inherit values from the mandatory default theme.
The available parameters for each theme in the file are as follows:
-
themes: Title; also represents an array of theme objects.-
name: Theme title.
-
stylesheets: An ordered array of URLs to CSS stylesheet files that are applied to every page. It is highly recommended to include"css/structure.css"as one of the entries to provide default styles for layout and structure.For example:
["css/myTheme.css", "css/structure.css"] -
path: A relative path to a directory containingtemplatesorpartialsdirectories, used for customizing the default layout of XUI pages.For more information, see "Customizing XUI Layout" in the Installation Guide.
-
icon: URL to a resource to use as a favicon. -
settings: Configuration settings for the theme. Missing parameters inherit their value from the mandatorydefaulttheme.-
logo: Parameters for the logo displayed on user profile pages.-
src: Filename of the logo. -
title: HTMLtitleattribute of the logo. -
alt: HTMLaltattribute of the logo. -
height: Logo height in CSS notation. For example:75pxor10%. -
width: Logo width in CSS notation. For example:150pxor25%.
-
-
loginLogo: Parameters for the logo displayed on login pages.-
src: Filename of the logo. -
title: HTMLtitleattribute of the logo. -
alt: HTMLaltattribute of the logo. -
height: Logo height in CSS notation. For example:75pxor10%. -
width: Logo width in CSS notation. For example:150pxor25%.
-
-
footer: Parameters to display in the footer of each XUI page.-
mailto: Email address. -
phone: Telephone number.
-
-
-
-
For more information, see "Theming the XUI" in the Installation Guide.