OEM > Rebranding Cognos
Cognos Viewer Customization Worries (Cognos 8.3)
gurumeditation:
hey all,
i have been heavily customizing a cognos 8.3-installation via the "skins"-functionality for the last week, and all seemed to work fine (mainly cognos connection, query studio)…
however, today i ran into a major problem. i'm not very familiar with the cognos application(s) and only discovered the cognos viewer today by clicking around among the sample pages and tabs i created to test the new "skin" - and to my very personal horror ;-), "cognos viewer" now appears completely unstyled. when i view the underlying stylesheets, i run into lots and lots of
--- Code: ---background-color: /* MISSING: background */;
--- End code ---
and the like for both (URLs for the stylesheets)
--- Code: ---cognos8/cgi-bin/cognos.cgi/dashboard/css/myportal?skin=mynewskin
cognos8/cgi-bin/cognos.cgi/dashboard/css/default?skin=mynewskin
--- End code ---
i suspect that my newly created/modified styles (eg. in skins/newskin/ps/default.css) get somewhat parsed to build the stylesheets for cognos viewer, but that i have modified too much for cognos to parse those styles as it's used to, resulting in the "MISSING: ..." statements.
i use a lot of shorthand syntax in my css and already tried reverting most of those, but still no success.
any insight on this is highly appreciated, as the documentation doesn't really help - i hope i haven't overlooked anything obvious.
when i choose one of the default themes, the "cognos viewer" part appears "styled" again (stating the obvious, i know :-/) … to clarify what i want to describe by saying "cognos viewer part" (because i'm still in no way familiar with the application):
* in "cognos connection", i created a "new page" (in "my folder") and put some of the standart cognos portlets (html viewer, rss viewer and the like) on it
* in the last step of the "new page assistant", i registered a new tab for the new page
* when i access the page by clicking the tab, it displays fine (as it's "rendered in cognos connection" as far as i understand)
* when i view the page via the "my folders"-tab, it appears completely unstyled (saying "cognos viewer" on the top of the page)
* when i view the html source and css-references, the two stylesheets with the "/* MISSING ... * */"-comments "appear"
for example, i gave the whole page a background-image (in skins/myskin/portal/default.css), which doesn't show up (in the "viewer") at all, as well as using some tricks to get hover-effects for the whole "cognos connection"-tabs; i faked round edges for the "mainheader3"-table and so on �" in short, our goal _was_ to make cognos do not look like cognos at all ;-).
i constantly tested what i assumed was "every part of cognos" (and they appear to be just fine) �" i just kind of "missed" that damn "cognos viewer" until now.
i guess i have to start from scratch and keep sticking to one of the default-skins (and it's css) as close as possible…?!
-----
i just did the following to narrow down possible problem areas �" and i'm hoping someone is still willing and able to get on that strange journey with me:
* i copied the default cognos 8.3-"modern"-skin
* renamed it, registered it as a new skin
* opened it's /portal/default.css
* and changed just the background-color for the BODY from #ffffff to #ff0000
* changes show up in "cognos connection"
* when i access "cognos administration" using that skin (with only that ONE CHANGE), it appears "unstyled" as described above
now it gets strange: when i REVERT those changes (read: JUST, ONLY ... changing the background-color back to #ffffff), the problem of the "unstyled" administration-area REMAINS. when if run a "diff" on the "default.css" in my skin-copy and its original in the unchanged default-skin-folder, it does not show a single difference. (same file encoding, line endings …)
before this, i thought that my "very custom" css changes caused those problems. now it seems i can make cognos go crazy just with one simple change in "default.css" �" leaving me clueless.
please forgive me for my general "cognos-n00b'ness" ;-) and that mess of a post.
thanks in advance,
peter
Darek:
Could you elaborate more on the construct of your URLs? It seems strange to me, that you have some path references between cognos.cgi and the question mark.
gurumeditation:
hey darek,
thanks for replying. as for the URLs, these
--- Code: ---cognos8/cgi-bin/cognos.cgi/dashboard/css/myportal?skin=mynewskin
cognos8/cgi-bin/cognos.cgi/dashboard/css/default?skin=mynewskin
--- End code ---
are the URLs where the CSS-files are retrieved (as shown via "View CSS" from within Firefox' Webdeveloper-Plugin).
Those Stylesheets lead me to the assumption that "Cognos itself" must be parsing some of the Skin-Stylesheets (and having problems with my modified styles), resulting in the aforementioned
--- Code: ---/* MISSING ... */
--- End code ---
references in the "generated" Stylesheets.
I sincerely hope this helps?!
sebnob:
I'm having the same problem here. I would like to know if you have any update on this.
It seem that the new dashboard portlet don't use the same mechanism for styling the the old stuff.
It also seem that the cognos administration section use this new multi-page portlet.
vrishal:
hi all,
i have successfully been able to rebrand some parts of Cognos. One page that I am having problem is on the administration page. Does anyone know which file to edit to change the text on the Cognos Administration page to custom text? I have provided a screenshot if my question is unclear.
Also, I have a similar problem as peter. If I change the skin to my custom skin, the Cognos Administration page appears 'un-styled'. All of the other pages take my new skin without a problem. It is just this one page (and all of its components on that page) which are the problem.
Thanks in advance for your help.
-Vrishal
Navigation
[0] Message Index
[#] Next page
Go to full version