WebSphere Portal Server - Different themes for login screen

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > November 2004 > Different themes for login screen





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Different themes for login screen
Fredrik Andersson

2004-11-17, 5:52 pm

Hi,

I want to develop a login screen where I can control which theme that should
be selected
to decorate it. Is there any way to this, preferrably based on the url
requested by the client?

// Fredrik Andersson


Michael Harris

2004-11-17, 5:52 pm

There isn't anything specifically designed to select theme based upon URL.
However, there is a theme selection algorithm used for all screens (login
included). If you have unauthenticated pages that you users go to before
they log in, the theme from the unauthenticated page will be used on the
login screen. If the user doesn't view an unauthenticated page prior to
viewing the login screen, the portal default theme is used.

You could build your own theme that is basically multiple themes in one
physical theme. Then in the Default.jsp, add detection logic to see what
markup and CSS needs to be included. There are limitations on this
technique (such as you can't provide different versions of some graphics),
but it should work. Also, the algorithm mentioned in the previous paragraph
may get in your way if there is more than one physical theme applied to
different sets of pages.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com