portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott T Weaver" <scotts-jetspeed-l...@binary-designs.net>
Subject RE: How to create a new skin and add custom mode to it injetspeed2?
Date Thu, 05 Jan 2006 16:55:04 GMT
Hi Sunil,

> But I am finding it difficult to add new functionality to the layout.
> For example, I want to include a search box and a submit button on the
> right hand side of header image defined in header.vm (something like:
> <img src="#GetPageResource('images/mqnt_banner.gif')"/>).
> 
> How to go about it?
> 
> And how to show the results of search?

I am not sure I understand fully.  Is the search box tied to a portlet or
will it be the result of a direct request to a servlet?


Regards,
-Scott


> -----Original Message-----
> From: Tiwari, Sunil Kumar [mailto:c_stiwar@qualcomm.com]
> Sent: Wednesday, January 04, 2006 6:55 PM
> To: Jetspeed Users List
> Subject: RE: How to create a new skin and add custom mode to it
> injetspeed2?
> 
> Hi Scott,
> 
> Sorry, I was on vacation this time and so could not reply to your mail.
> I have read your documentation and it helped me a lot to create some new
> skins and themes.
> 
> I am able to change the look and feel of pages by altering the
> header.vm/footer.vm file of the layout.
> 
> But I am finding it difficult to add new functionality to the layout.
> For example, I want to include a search box and a submit button on the
> right hand side of header image defined in header.vm (something like:
> <img src="#GetPageResource('images/mqnt_banner.gif')"/>).
> 
> How to go about it?
> 
> And how to show the results of search?
> 
> I have worked on Websphere portal and it uses jsp/stylesheets to
> accomplish the above mentioned goals.
> 
> Just imagine a commercial web portal with so many links and other
> functionalities. Where shall I place them?
> 
> Regards,
> Sunil
> 
> 
> 
> -----Original Message-----
> From: Scott T Weaver [mailto:scotts-jetspeed-list@binary-designs.net]
> Sent: Tuesday, December 27, 2005 7:46 AM
> To: 'Jetspeed Users List'
> Subject: RE: How to create a new skin and add custom mode to it
> injetspeed2?
> 
> Hi Sunil,
> 
> Sorry, I was on vacation last week and not able to get to this sooner.
> Please look at the initial documentation I have written,
> http://portals.apache.org/jetspeed-2/guides/guide-decorators.html.  It
> is
> far from finished but should give you an idea what is required to build
> a
> decoration.
> 
> -Scott
> 
> > -----Original Message-----
> > From: Tiwari, Sunil Kumar [mailto:c_stiwar@qualcomm.com]
> > Sent: Wednesday, December 21, 2005 6:47 PM
> > To: Jetspeed Users List
> > Subject: RE: How to create a new skin and add custom mode to it
> > injetspeed2?
> >
> > Hi Randy,
> >
> > I was able to create a new skin by copying the folder structure of an
> > existing skin and tinkering with it. So far, I am able to just change
> > the look and feel but wasn't able to add new custom mode.
> >
> > I noticed a macro #PortletActionBar($decoration) in
> > jetspeed/decorations/portlet/decorator.vm
> >
> > I guess this macro has to do with what modes can be provided.
> > But I don't know much about Velocity and so I cldn't figure it out.
> >
> > Could you tell me where these macros are defined and how they work
> with
> > themes and skins?
> >
> > Thanks so much for your inputs.
> >
> > -Sunil
> >
> > -----Original Message-----
> > From: Randy Watler [mailto:watler@wispertel.net]
> > Sent: Wednesday, December 21, 2005 3:15 PM
> > To: Jetspeed Users List
> > Subject: Re: How to create a new skin and add custom mode to it
> > injetspeed2?
> >
> > Sunil,
> >
> > The best way to start with the decorators is to make a copy of them
> and
> > tinker!
> >
> > Decorators can be deployed by jaring them up and dropping them into
> the
> > webapps/jetspeed/WEB-INF/deploy directory, (the jar file must contain
> > the *.properties and *.vm files at the top level and folders for css
> and
> > images filled appropriately). There might be a small bug in the 2.0
> > release deployer, but we'll fix that soon. In the interim, you should
> be
> > able to edit them in place or copy new ones into the existing
> > webapps/jetspeed/decorators directory.
> >
> > If you need to add a new custom mode, that is more complicated. I am
> not
> > sure J2 supports this without code changes. I am sure David Taylor can
> > give you some input there, or you can try to search the mailing list
> > archives.
> >
> > HTH,
> >
> > Randy
> >
> > On Wed, 2005-12-21 at 11:32 -0800, Tiwari, Sunil Kumar wrote:
> > > Hi,
> > >
> > > I have recently started using jetspeed2 portal and it looks amazing.
> > > The themes and skins have been developed using Velocity and I don't
> > know
> > > much about it.
> > >
> > > Can someone help me in creating a new skin and adding custom mode to
> > it?
> > > I want a config mode in addition to the default modes. I need to add
> > the
> > > image to the skin.. am I right?
> > >
> > >
> > > Thanks,
> > > Sunil
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message