This section covers the techniques for replacing the delivered text and logo with your own text and logo. These customizations can be applied very quickly.

 

Text


All text that appears on pages in Knowledge Center is stored in a single file on the web server. This file can be found in the <install directory>\Web Server\KCenter\bin directory. The file is named eu<langid>.lng; for example euen.lng. The first two characters of this file name, eu, indicate that it is used by the Knowledge Center user interface. Note that there are many other lng files used for other modules of the Knowledge Center. The second two characters indicate the name of the language; for example euen.lng for English. Although this file has an extension of “lng” it is an XML formatted file.
 


Within the file each text item appears as shown below:


<item stringid="2">
    <text>Welcome</text>
</item>


Each item in the file has a stringid and text. The numeric stringid is a unique value that identifies that particular block of text. The <text> value specifies the content for the item, that is, the text block.


To specify custom text blocks, you must first create a “customization” file that contains your custom information. This is accomplished by creating a new file named eu<langid>.cus. This file uses the same file structure as the eu<langid>.lng file. You only need to add the specific text blocks and graphics that you are modifying to the “customization” file, because the eu<langid>.lng is read first and then the eu<langid>.cus file is read to pick up any customizations.


The customization file has 2 major sections:

Do not modify the standard eu<langid>.lng file. This file is replaced each time an updated version of the Knowledge Center is installed. Customization files (.cus) are never overwritten by Knowledge Center updates.

 

Logos

 

Note: The technique used for replacing graphic images has changed since previous versions of Knowledge Center.

 

All graphic images are stored in a single xml file, images.xml, which is used to inject image data directly into Knowledge Center pages, reducing the number of HTTP requests made back to the server. This file can be found in the <install directory>\Web Server\KCenter\images directory. A utility program has been included with Knowledge Center that creates this xml file from a directory containing standard image files. In order to replace the delivered logo image with your own you:

See "Replace the Graphics" for more detailed instructions.


Table of Contents  Back

Customization_Basics