This is awesome - allows me to really jazz-up my portlets!
Is it possible to dynamically change the template I use? My thought was to
provide a link
called "edit mode" which shows the portlets with resize/config buttons, and
another called "run mode" which hides the config buttons. (I do not need to
save the setting as I figure I will always use the "run mode" when a user
logs in.
TIA,
Steve B.
----- Original Message -----
From: "Chris Kimpton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 10:07 AM
Subject: Re: Remove display options from portlets
> Hi,
>
> --- Sony Joseph <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > How do we remove the display (mimize/Maximaize etc ) options from
> > portlets
> > ?
> >
>
> One option is to have your own version of the velocity template file
> jetspeed.vm ( found in
> [jetspeed-home]\webapp\WEB-INF\templates\vm\controls\html ).
>
> There is the following code in there;
>
> #foreach ( $action in $actions )
> <a href="${action.Link}"><img src="images/${action.Name}.gif"
> border="0"></a>
> #end
>
> This adds the buttons you are referring to.
>
> Thus, your custom version of this file could remove that bit of code.
>
> You might also be able to do it with configuration entries in your
> .xreg file for your portlets... but I can't see where at the moment.
>
> HTH,
> Chris
>
> =====
> Need somewhere to Live in London - http://freeflats.com
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.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]