Hi,

in the project I'm working on with Martin we'd like to customize the look
of OpenCA beyond what is possible with CSS and logo_{left,right}.

We'd like to have a banner which is always visible above the OpenCA UI.
This banner would be HTML (not only a bitmap) and contain the corporate
look&feel and contain links to related sites, documentation and FAQs. I
guess this feature would be appreciated by others, too.

As a quick hack I modified the frameset in lib/cmds/getStaticPage hold
another frame on top of the existing ones, that way I was also able to
modify the title of the frameset. It should be not too hard to make the
complete frameset configurable (menu.xml?). Lets call this approach 1.
Alas this introduces another frame and does not cover the login screen.

Another approach (lets call it 2) would be to misuse use the logo_left
feature and move the html code inserted there with CSS position:absolute
to the desired position. This doesn't introduce additional frame, but
unfortunately it doesn't work for the login either and the banner needs
space, so that I would need to modify the frameset in
lib/cmds/getStaticPage to accommodate for that (or make part of/the whole
frameset configurable).

Approach 3 would introduce a new config option banner (menu.xml?) which is
used in HTML.pm so that we do not have to misuse logo_left. We would need
to modify OpenCA::UI::HTML::libSendMenu and lib/cmds/genMenu and in
addition OpenCA::UI::HTML::libSendMenu and OpenCA::AC. The problem with
the required frameset modification is the same as in approach 2.

Please let me know what you think of the above or if I've missed some easy
way to do the banner customisation :-)

Regards,

Jörg






-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to