Sun Java System Communications Express 6.3 Customization Guide

Themes

Communications Express allows you to customize the look and feel of the displayed web pages.

ProcedureTo Create a new Theme

The <skin-dir> directory contains subdirectories, which correspond to each skin defined for Communications Express. For example, to create a skin called “christmas” create a “christmas” directory under the <skin-dir> directory and perform the following steps:

  1. Copy themes.properties under <skin-dir> directory to <skin-dir>/christmas. themes.properties file that defines the various parameters of this theme.

  2. Change the locations in themes.properties to point to the customized style sheets and images.

  3. For help on various parameters in this file, refer to Appendix D of the Communications Express Administration Guide. Look for “themes.properties ” under the “Configuration Parameters Reference” section.

  4. To configure the christmas theme, go to <domain-dir> and add the parameter uwc-user-attr-SunUCTheme-<locale-name>=christmas in the uwcdomainconfig.properties file. Here, <locale-name> is the name of the locale on which you want to set the theme .

  5. Restart the web server to apply the changes.

ProcedureTo Modify a Skin

The <skin-dir> directory contains subdirectories, which correspond to each skin defined for Communications Express. You can also modify the properties associated with a particular skin by editing the themes.properties file for the skin.

  1. Go to the skin directory that you want to update. For example, to update the skin called “christmas” change to <skin-dir>/christmas directory.

  2. The <skin-dir>/christmas contains a file called themes.properties. This file defines the various parameters of the skin.

  3. Update the required parameters in the themes.properties file.


    Note –

    For help on various parameters in this file, refer to Appendix D of the Communications Express Administration Guide. Look for “themes.properties ” under the “Configuration Parameters Reference” section.


  4. Restart the web server to apply changes.