How to add a custom message for all Cognos users on Cognos Connection Page
This article provides you information about how one can add a custom message for all Cognos users on Cognos Connection Page
Solution 1 : Add the message on the title bar of Cognos Connection.
Refer point 1 in image attached.
Steps :
a. Open <c8_install>webcontent/skins/<skin_used>/shared/banner.css
b. find ".mainHeader1middle"
c. Modify content as per requirement.
Example :
.mainHeader1Middle
{
width:100%;
background-image: url(../shared/images/Message.gif);
background-repeat: no-repeat;
}
Solution 2 : Add the message on the title bar of table.
Refer point 2 in image attached.
Steps :
a. Open <c8_install>webcontent/skins/<skin_used>/portal/default.css
b. find ".tableHeader"
c. Modify content as per requirement.
Example :
.tableHeader
{
background-color: #ffffff;
background-image: url(images/Message.gif);
background-repeat: no-repeat;
}
Please refer to attached snapshot for the location where the message would be displayed.
Precautions :
1) The images needs to be properly created and should be available in the respected directories. The background color should be taken care of accordingly.
2) For Solution 2, the image text needs to be properly placed with additional space from left side, as the same css is being referred by other Titles as shown in the attached image. Also background color in image need to keep the same background color of title bar for the same reason .Refer point 3 in the attached image.
3) Portal customization is not a standard practice and hence not recommended. Hence above solution should be used at your own discretion, as portal customization is a tricky task.
Refer point 1 in image attached.
Steps :
a. Open <c8_install>webcontent/skins/<skin_used>/shared/banner.css
b. find ".mainHeader1middle"
c. Modify content as per requirement.
Example :
.mainHeader1Middle
{
width:100%;
background-image: url(../shared/images/Message.gif);
background-repeat: no-repeat;
}
Solution 2 : Add the message on the title bar of table.
Refer point 2 in image attached.
Steps :
a. Open <c8_install>webcontent/skins/<skin_used>/portal/default.css
b. find ".tableHeader"
c. Modify content as per requirement.
Example :
.tableHeader
{
background-color: #ffffff;
background-image: url(images/Message.gif);
background-repeat: no-repeat;
}
Please refer to attached snapshot for the location where the message would be displayed.
Precautions :
1) The images needs to be properly created and should be available in the respected directories. The background color should be taken care of accordingly.
2) For Solution 2, the image text needs to be properly placed with additional space from left side, as the same css is being referred by other Titles as shown in the attached image. Also background color in image need to keep the same background color of title bar for the same reason .Refer point 3 in the attached image.
3) Portal customization is not a standard practice and hence not recommended. Hence above solution should be used at your own discretion, as portal customization is a tricky task.
Comments
Post a Comment