UG CTMS System Configuration - Configurable Colour Scheme
Aptean
System Configuration - Configurable Colour Scheme
Calidus TMS - 12.45
15th December 2010 - 1.0
Reference: SYSCFG
Configurable Colour Scheme
Prerequisites
This quick setup guide is intended to help you with the setup of the toolbar’s and table highlight colour scheme options in Calidus TMS (C-TMS).
You will need:
- A login to the version of c-TMS you want to update
- A login to the FTP server for the version of c-TMS you want to update
- An FTP client such as FileZilla
- A colour picker such as ColorPic (optional, but may help)
First things first
Once you have decided on which colour you want to change the toolbars to, you should fire up your web browser and log in to the Calidus TMS service. The procedure to do this is outside the scope of this document and is covered in other material.
Once you have logged in, you should navigate to the system parameters page, which can be found under Administration>System>Parameters
The configurable layout
You should navigate to the following rows (hint: try entering SCR% into the "?.." function from the toolbar):
- SCR_HEADER_TEXT_COLOUR controls the foreground colour of the text in the far right of the toolbar.
- SCR_HEADER_BKG_COLOUR controls the background colour of the text in the far right of the toolbar.
- SCR_HEADER_BMP_PATH controls the path on the server from where the bitmap image for the rest of the toolbar is loaded. NOTE: This is NOT the path to the bitmap image itself. It is the directory in which it is stored, and must end with a "/".
- SCR_CURRENT_HIGHLIGHT_COLOUR
Colours are specified using the standard oracle colour format which follows the format RGB. For example
- r255g255b255 is white
- r0g0b0 is black
- r255g0b0 is red
- r0g255b0 is green
- r0g0b255 is blue
- r255g255b0 is yellow
- r0g51b98 is the blue colour currently used in the HARTST database.
This field does not accept user specified colours in the oracle forms colour palette, such as DHL_Red which is the colour shown above. It must specify a standard rgb colour otherwise it will not work.
Once you have entered your colour value, write it down – you will need it later.
You should now hit the ? button and answer yes to the popup box to save your changes, or hit the save button at the bottom of the screen.
Creating a background
For the background of the form, you need to create a bitmap image (file extension .bmp). This can be done using MS Paint or any other image editing program such as Photoshop or GIMP. It is advisable to create solid colour backgrounds, due to the fact that the text items on the far right of any form in the system have only solid coloured backgrounds and cannot be configured otherwise. However creating textured backgrounds is also perfectly acceptable and will work.
You should start creating your background image by logging on to the FTP server and copying an existing background image from the server to your desktop. Images on the server used for this purpose have the strict naming convention of the oracle colour format. Look for any image which starts is in the format r###g###b###.bmp and copy it from the server to your machine.
Now, open the image using an image editor (paint). The first thing you should do to avoid overwriting other background images is to save the image under a different name (Save As...). The name which you must use for this image is the value you wrote down before, and follows the oracle colour convention of RGB (see above). You should have:
- old image (copied from server)
- new image (different name)
Once you are sure you have named the image correctly, you should fill the image with the same colour you used and wrote down earlier. To get the colour in paint, copy the RGB valued into the "Edit colors..." preference box under the colors menu.
Once you have done this, you should verify that it is the same colour as that in the form. If you end up with a slightly different colour, try ColorPic to grab the correct colour.
Save the image and copy it to the FTP server to complete the colour change. Now verify that the colours are as expected.