Customizing Calendar Style Sheets

One of the main reasons for customizing rule editor style sheets is to add styles for custom calendar codes.

This topic explains how to customize rule editor styles in Catalog Manager and MetraCare without having to edit any core files. It does not address the content of the style sheets, only how to make the applications use the customized style sheets.

Steps

Note

The folders referenced below are partial paths. The complete paths depend upon your installation. For example, if you installed on drive C:, and accepted default paths for the installation, RuleEditor_styles.css would be located in the following folder:

C:\MetraTech\RMP\UI\MAM\default\localized\us\styles

  1. Copy UI\MAM\default\localized\us\styles\RuleEditor_styles.css to UI\MAM\custom\localized\us\styles (you may have to create those subfolders).

  2. Customize the file according to your wishes. (Details are beyond the scope of this help system.)

  3. Create a new file MPTECustomLinks.xml in UI\MAM\custom\LinkLookUp (again creating any missing folders) containing the following text:

<?xml version='1.0' encoding='UTF-8'?>
<links id='MPTE Customized Links' type='collection'>
  <link id='MPTE_STYLESHEET1'>
    <value>[APP_HTTP_PATH]/custom/localized/us/styles/RuleEditor_styles.css</value>
    <description></description>
  </link>
</links>

MetraCare will now recognize and use the customized styles.