Documentation Center

Understanding Context-Aware Skins

Context-aware skins react to dynamic contextual information about the user and select the appropriate skin, accordingly.

Context-aware skins can react to many different details about the user, such as the groups to which the user belongs, the user's preferences, or the device or browser in use.

Based on the inputs, the context-aware skin selects a single skin to display the application for the user. This choice only affects the individual user; other users on the site will see either the default application skin or the skin that was selected for them by the context-aware skin.

The context-aware skin's decision as to which skin to give each individual user is driven by the XQuery script LiveContent_home/db/LiveContent/ui/skins/your_skin/xql/skin_select.xql, which is run when the user first arrives at the site, and a second time if the user decides to log in to the site.

The task of setting up multiple skins derived by a context-aware skin requires knowledge of XQuery scripting and familiarity with the application.