COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: xplorerdev on 19 Mar 2013 02:08:04 AM

Title: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: xplorerdev on 19 Mar 2013 02:08:04 AM
Hi All,

I have been successfully able to hide the toolbars for certain users. However the box area in which they were present is still there. Its taking too much of space.

I have checked all the files possible.

Is there a file in which we can modify the height/width of the header boxes i.e. top header box (h1) that has the launch menu, tab bar (h3) which has tabs like Public Folders and My Folders and header (h4) that includes the toolbar menu.

Thanks and Regards
Dev
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: Rahul Ganguli on 19 Mar 2013 02:22:40 AM
Hi,

You can set security for complete context menu which will not appear for certain users.

For modifying the Cognos UI
header box (h1) that has the launch menu --> banner.css
tab bar (h3) which has tabs like Public Folders and My Folders --> default.css, font.css
header (h4) that includes the toolbar menu --> default.css, font.css

You can find these css file at <Cognos Install>\webcontent\skins\<theme>\

Also if you attach a current and required UI of your portal that you help us to understand the requirement better.

Regards,
Rahul
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: xplorerdev on 19 Mar 2013 03:58:23 AM
Hi Rahul,

Thanks for the reply. Honestly, I had opened the default.css file yesterday but did not make any changes as I could not make out where to make the change.

Today, I added height: 5px; for .welcomeToolGroupContainer, .welcomeToolGroupHeaderContainer, .welcomeToolGroupHeaderLeft, .welcomeToolGroupHeaderRight, .welcomeToolGroupEdge and .welcomeToolGroupBody at C:\Program Files\ibm\cognos\c10_64\webcontent\skins\corporate\portal and it worked :) Thanks for the suggestion.

However, when I log in with a user the extra space is still there on the Cognos Connection page. But when I click on a tab and go to the tab, then there is no extra space. I am attaching two screens (Screen 2 in next post due to forum limitation) to elaborate on the extra space issue.

Thanks n Regards
Dev
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: xplorerdev on 19 Mar 2013 03:59:24 AM
Hi Rahul,

2nd screen attached four your reference.

Thanks n Regards
Dev
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: Rahul Ganguli on 19 Mar 2013 05:31:02 AM
Hi,

Can you do the following changes in the mentioned files

C:\Program Files\ibm\cognos\c10_64\webcontent\skins\corporate\viewer\RVReport.css
#CVToolbar_NS_ {Display:none;}

C:\Program Files\ibm\cognos\c10_64\webcontent\skins\corporate\viewer\CRN.css
.mainViewerHeader3 {Display:none;}

Regards,
Rahul
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: xplorerdev on 19 Mar 2013 05:53:10 AM
Thanks for the reply Rahul.

It did not work. I made the changes you suggested but still that extra space remains on the first login page.

I think I will leave it for now as the spaces are not their on the consequent pages.

As per my understanding, when I first login, it takes me to the Cognos Connection page for which I have created a report and saved it as the home for that user. Now, when I click on any of the two buttons on the first page it also opens the same report, BUT now, it opens it in Cognos Viewer. That's the difference here, I feel. Will pursue this some other time. I will try to live with that little bit extra space for now  :-\

But again, thanks for the prompt replies. I really appreciate it.

Regards
Dev
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: Rahul Ganguli on 19 Mar 2013 06:17:46 AM
Can you try one more thing

C:\Program Files\ibm\cognos\c10_64\webcontent\skins\corporate\portal\default.css
.dialogHeaderText {Display:none}

Regards,
Rahul
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: xplorerdev on 20 Mar 2013 12:01:48 AM
Hi Rahul,

Thanks for your suggestions. Well, I just did what you suggested, but no luck. The first login page still has that space.

Regards
Dev
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: xplorerdev on 20 Mar 2013 10:41:53 PM
Hey Rahul,

Just a note, doing .dialogHeaderText {Display:none} at C:\Program Files\ibm\cognos\c10_64\webcontent\skins\corporate\portal\default.css made my navigation tree go away. By navigation tree I mean the tree which looks like Public Folders > My Package > My Reports >.....

So, I had to revert back to my original code. No isses.  :)

Well, this can be a note for others who would want to remove that tree purposefully.

Thank Rahul once again.

Regards
Dev
Title: Re: How to Modify Cognos 10.2 Connection Toolbar Menu Header Width ?
Post by: Rahul Ganguli on 22 Mar 2013 02:52:37 AM
Thanks for sharing that information.