Akihiko,

1) Seem like a lot of work, but it works.
2) Assumes portlet 0 is the top level portlet.

I do not know the code well enough to know if this "should work" :(

Paul Spencer

Akihiko wrote:
> 
> Paul,
> 
> Basically all I am looking for is to apply any visual changes to the entire
> screen.  When the root portletSet is skinned, all of its children portlets and
> sets inherit that skin.  What I am looking for is a way to extend that change
> outside of the portlet container.  For example if the user chooses a skin with
> green text color, I would like the text in the three navigations (top, left,
> and bottom) to update to green as well.
> 
> After looking through the documentation it looks like there might be a way to
> retrieve the skin, and at first glance it seems to work...
> 
> #set( $profile = $data.getProfile())
> #set( $doc = $profile.getDocument())
> #set( $portlets = $doc.getPortlets(0)) ## perhaps by name?
> #set( $skin = $portlets.getSkin())
> #set( $skinName = $skin.getName())
> 
> Confusing, but it seems to work.  Do you see any potential problems with this?
> 
> Thanks,
> Akihiko
> 
> --- Paul Spencer <[EMAIL PROTECTED]> wrote:
> > Akihiko,
> > I am not sure I follow the question.  In the case of the navigation
> > bars, their is no skin (i.e. $skin.Name is undefined).  You can edit
> > top.vm to change the look, but I do not know how to access the skin for
> > the top level portlet.
> >
> > What would the "skin" be applied to?
> >
> > Is their a reason the "content" is not in a Portlet?
> >
> > Paul Spencer
> >
> > Akihiko wrote:
> > >
> > > Is there any way to access skin information from top.vm, or any other
> > > navigation for that matter?  It seems that skins are associated with
> > portlets,
> > > not users which allows some very fine grained skinning. However, I've not
> > found
> > > a way to keep the top and bottom navigations in sync with the top level
> > skin.
> > >
> > > Has anyone found a way to do this?
> > >
> > > Thanks!
> > > Akihiko
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Make a great connection at Yahoo! Personals.
> > > http://personals.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to