Wednesday, July 30, 2008

Image of the custom Cognos Home Page




I have the detailed code of the system.xml file but I was thinking I will also add the screen shot of the changes I made to the home page icon. I have also done couple of other branding in my local machine, will put on the screen shots soon.

Thursday, July 10, 2008

Replacing the Cognos Connection text with a corporate logo

Some of the code here is not right as the HTML form will not allow it to display. But the missing code is basically some open or close braces. Otherwise, this should help do the work easily.

1. Place image in the folder /c8\webcontent\skins\my_style\branding. In my case the address is like
'C:\Program Files\cognos\c8\webapps\p2pd\skins\corporate\branding'
2. Edit the system.xml file using Notepad or an XML editor. (C:\Program Files\cognos\c8\templates\ps\portal )
3. Search for “ Custom OEM headers ”.
4. You will notice that this section is commented out. Un-comment out this section and add the following section for your new style:

Custom OEM headers
param name="OEM"
Specify custom Cognos Connection / Cognos Viewer left side header here in the form of XHTML snippets. Custom headers can be style-specific. Example:
customheader showcontext="false" contextdelimiter=""
style stylefoldername="my_style"
table style="background-color:#2d5d3d"
tr
td
img "../skins/my_style/branding/bank_logo.gif" / /td
/tr
/table

/style

style stylefoldername="corporate"
table style="background-color:#ffffff"
tr>
td > img "../skins/corporate/branding/my_logo.gif" / /td
td class="headerTitle" style="padding-right:2px;white-space:nowrap"> My company /td>
/tr>
/table
/style

5. Restart Cognos 8 service for these changes to take effect.


If we have the Framework permission, then this should be a childs play. Simple and clear.