Easy way to add Custom links and company logo on cognos connection portal
I read a lot of documentation on portal customization in cognos and the problem is none of them work exactly the way they document. The easiest way is to edit system.xml file and copy custom images to the respective location:
Images: ..\webcontent\skins\corporate\branding
..\webcontent\skins\classic\branding
..\\webcontent\ps\portal\images
<!-- Custom OEM headers -->
<param name="OEM">
<customHeader showContext="true" contextDelimiter=" - ">
<style styleFolderName="corporate">
<table style="background-color:#ffffff">
<tr>
<td><img src="../skins/corporate/branding/my_corp_logo.gif"/></td>
<td class="headerTitle" style="padding-right:2px;white-space:nowrap"> NextEra Energy </td>
</tr>
</table>
</style>
<style styleFolderName="classic">
<table style="background-color:#006699">
<tr>
<td><img src="../skins/classic/branding/my_corp_logo.gif"/></td>
<td class="headerTitle" style="padding-right:2px;white-space:nowrap"> NextEra Energy </td>
</tr>
</table>
</style>
</customHeader>
</param>
<param name="ui_add">
<CRN_HEADER_OPTIONS>
<item>
<url>http://google.com</url>
<target>_blank</target>
<label xml:lang="en">Google</label>
<tooltip xml:lang="en">Google</tooltip>
<label xml:lang="fr">Google</label>
<tooltip xml:lang="fr">Google</tooltip>
<label xml:lang="de">Google</label>
<tooltip xml:lang="de">Google</tooltip>
<label xml:lang="ja">Google</label>
<tooltip xml:lang="ja">Google</tooltip>
<icon>google.gif</icon>
</item>
</CRN_HEADER_OPTIONS>
Images: ..\webcontent\skins\corporate\branding
..\webcontent\skins\classic\branding
..\\webcontent\ps\portal\images
<!-- Custom OEM headers -->
<param name="OEM">
<customHeader showContext="true" contextDelimiter=" - ">
<style styleFolderName="corporate">
<table style="background-color:#ffffff">
<tr>
<td><img src="../skins/corporate/branding/my_corp_logo.gif"/></td>
<td class="headerTitle" style="padding-right:2px;white-space:nowrap"> NextEra Energy </td>
</tr>
</table>
</style>
<style styleFolderName="classic">
<table style="background-color:#006699">
<tr>
<td><img src="../skins/classic/branding/my_corp_logo.gif"/></td>
<td class="headerTitle" style="padding-right:2px;white-space:nowrap"> NextEra Energy </td>
</tr>
</table>
</style>
</customHeader>
</param>
<param name="ui_add">
<CRN_HEADER_OPTIONS>
<item>
<url>http://google.com</url>
<target>_blank</target>
<label xml:lang="en">Google</label>
<tooltip xml:lang="en">Google</tooltip>
<label xml:lang="fr">Google</label>
<tooltip xml:lang="fr">Google</tooltip>
<label xml:lang="de">Google</label>
<tooltip xml:lang="de">Google</tooltip>
<label xml:lang="ja">Google</label>
<tooltip xml:lang="ja">Google</tooltip>
<icon>google.gif</icon>
</item>
</CRN_HEADER_OPTIONS>
Comments
Post a Comment