Hello,
I have a sort of extremely specific issue, but I wonder if anybody has any
ideas about how i might address it.
The problem is: if a user comes in to a page other than the login screen (e.g.
maybe following a bookmark to
"render.userLayoutRootNode.uP?uP_fname=word-of-the-day" or something), he does
not get the login button. He just gets a blank screen.
It may only happen when the user is already authenticated with SSO, but does
not have a uPortal application session.
In the "quick start", it does not happen with the "uportal3" skin but it DOES
happen if "ivy" is the default skin (I set this by editing
"/uPortal-3.2.2/data/uP3_uPortal.script" (search for "uportal3")- perhaps there
is an easier way?).
I think the reason for this has to do with the universality USE_SIDEBAR
variable, which is "true" for "uportal3" but "false" for "ivy". I think
something like: if the sidebar always shows up anyway (USE_SIDEBAR==true), then
it will be there with the login button in it. But the sidebar is not always
supposed to show up, then it doesn't show up under this circumstance.
Does anybody have any ideas about how to change this? I would like it to always
show the login button if the user doesn't have a valid application session. Or
maybe redirect to the login page or something.
I am thinking I might be able to hack something into the theme ("if not
authenticated, set use_sidebar=true", or "if (i don't have access to render
some specific portlet) set use_sidebar=true", or something like that)...but I
wondered if anybody had any idea that was better than that. Or if someone more
knowledgable can provide me some guidance about what to hack (or what to not
hack).
Thank you,
Jerry
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev