The style sheet default.css in the c8_location/webcontent/skins/style/portal
directory defines the overall appearance of the IBM Cognos Connection
interface for each style . Portal-specific graphics, if present, are
located in the images subdirectory.
You make changes to the appearance of IBM Cognos Connection by modifying the default.css file for the styles you want. Before you begin, we recommend that you back up the original default.css file.
Other changes to the appearance of IBM Cognos Connection are made in the c8_location/templates/ps/portal/system.xml file.
Tip: Remember to restart IBM Cognos 8 after completing your modifications, so that the changes take effect.
This documentation provides the following examples of customizations in IBM Cognos Connection:
Changing the background color in the IBM Cognos Connection main
header
Changing the branding details in the IBM Cognos Connection main
header
Open the system.xml file in a text or XML editor.
This file is located in the c8_location/templates/ps/portal directory.
Locate the OEM parameter and add the custom branding details as specified in the following code.
The sequence in bold font must be repeated for each style in which you want this change to appear.
<param name="OEM"> <customHeader showContext="true" contextDelimiter="-"> <style styleFolderName="corporate"> <!--Insert well-formedHTMLhere --></style> <style styleFolderName="classic"> </style> ... </customHeader> </param>
Here is a code example for this change:
<customHeader showContext="true" contextDelimiter="- "> <style styleFolderName="corporate"> <table style="background-color:#ffffff"> <tr> <td><img src="../skins/corporate/branding/my_logo.gif"/> </td><tdclass="headerTitle" style="padding-right:2px;white-space:nowrap">Mycompany</td> </tr> </table> </style> <style styleFolderName="classic"> <table style="background-color:#cccccc"> <tr> <td><img src="../skins/corporate/branding/my_logo.gif"/> </td><tdclass="headerTitle" style="padding-right:2px;white-space:nowrap">Mycompany </td> </tr> </table> </style> </customHeader>
Suppose you want to change the background color used in the IBM Cognos Connection header.
mainHeader1 { border-right: #000000 1px solid; border-left: #000000 1px solid; border-bottom: #000000 1px solid; background-color: #669966; height: 25px; background-image: url(Images/title_bar_grapic.gif); background-repeat: repeat-x; background-position: top; }
Suppose you want to remove or replace some of the Web
portal graphics for a specific style . When replacing the images, we recommend that
you retain the same file name.
The following table shows the files located in the directory c8_location/webcontent/skins/style/branding that supply the currently used images.
File | Contents |
branding/portal_splash.gif | The splash screen image for IBM Cognos Connection |
branding/about.gif | The About box graphic |
branding/banner_cogsquare.gif | The banner image |
branding/progress.gif | The animated progress image |
branding/cognos_sm.gif | The IBM Cognos image that appears in the lower-right corner of the Welcome page |
branding/logowatermark.gif | The watermark image that appears in the background of the About box. |
branding/cognos_product_label.gif | The IBM Cognos 8 image that appears in the Welcome pages and in the splash screens |
<param name="myPages"> <param name="fontUnit">pt</param> <!-- pt or px or % --> <param name="defaultTitleFontFace">Tahoma</param> <param name="defaultTitleFontSize">12</param> <param name="defaultInstructionsFontFace">Tahoma</param> <param name="defaultInstructionsFontSize">11</param> </param>