Hi Aurelien, I did what you mentioned in the e-mail and i do get the metal look and feel. Also i got your e-mail with the responses...thanks a bunch..seems as if i 'll have to spend some time learning css...:-(..thought i'll get around that...;-) The cool thing i like about this approach is that since you have the whole skinning out in the css and only the definition in the xreg file it is easier to experiment with colors...The skin.xreg if changed involves restarting the webserver...with this new approach though now all i have to do is specify everything in the css and keep changing the colors and refreshing the browser to see how a new color looks...i enjoy that aspect of it.
I do have some problems though: It seems as if only a given portlet can get the skin. What if i want to apply this skin to the whole portal. For whatever reason when i go to my portal page i do not see the mynewskin skin that i specified being applied. I set the skin in JRP and also the css is set in the JRP. So i think i have everything covered...Till i go manually to the portlet and change the skin of the portlet i cannot see the new skin that i applied. The other thing i noticed is this: I went to the jetspeed portal and clicked on the Global customize button(this was just to see how the default jetspeed website worked and if i messed something up in mine) and tried to change the skin from orange-grey to something else and that does not change the look of the whole portal either. Is there a bug or something or am i missing? Please help. Thanks, Archana >>> [EMAIL PROTECTED] 02/11/04 02:28AM >>> You shouldn't use both portlet-skin-class and other stuff of skinning. portlet-skin-class is self sufficient for an all skin, but you can't mix it with text-color and stuff like that. check this mail where I first explained how to use portlet-style-class : http://www.mail-archive.com/[EMAIL PROTECTED]/msg08920.html The only available example would be Metal skin and its classes. HTH, Aurelien Archana Turaga a �crit : > I did and did the following: > > <registry> > <skin-entry name="myskin" hidden="false"> > <property name="text-color" value="#ffffff" hidden="false"/> > <property name="background-color" value="#ffffff" hidden="false"/> > <property name="title-text-color" value="#000000" hidden="false"/> > <property name="title-background-color" value="#beceef" > hidden="false"/> <property name="title-style-class" > value="TitleStyleClass" hidden="false"/> <property > name="highlight-text-color" value="#ffffff" hidden="false"/> > <property name="highlight-background-color" value="#6331ff" > hidden="false"/> <property name="portlet-style-class" > value="BorderedPortlet" hidden="false"/> </skin-entry> > </registry> > > If you look at the above i added the "portlet-style-class" to > be set to BorderedPortlet and in the my css file i overrode > the BorderedPortlet with the following values > > .BorderedPortlet > { > background-color: white; > border: thin red solid; > font: normal; > color: black; > padding: 4; > } > > Do you see a problem here? Am i completely way off? > > Thanks for your responses. > > Archana > > > >>>> [EMAIL PROTECTED] 02/10/04 07:00PM >>> > Answer to your first question check out skin.xreg file in conf > directory. And for 2nd, you have to do a little. Keep file aside > and the copy it back. > > > ~suchi > > > -----Original Message----- > From: Archana Turaga [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 10, 2004 4:50 PM > To: [EMAIL PROTECTED] > Subject: Skinning portlets---help > > > Hi, > I spent the whole day today experimenting with the layout of the > portlets with respect to their color, backgroung etc. > What i found is i can edit the jetspeed-vm and jetspeed-tab.vm to > edit the portlet border etc. > > This is where my problem is: > > 1st question: I set the border from 0 to 6 for the table in > jetspeed-vm...now all my portlets have a border (which is what i want) > but has a dark gray color...i'm trying to figure out where this color > is being specified...i guess one of the stylesheets..but i know i'm > going to be digging around for sometime. I want to change the color > of this border...how can i do this and what is the procedure involved? > > 2nd question(nothing to do with skinning): I'm editing the jetspeed > velocity files directly...so in future there is a new jetspeed release > i'll have to make sure that i do not lose the changes i made to > jetspeed.vm....is there a way to avoid this problem? > > If anyone knows the answer to any of these problems please help.... > > Thanks in advance for your time and patience, > Regards, > Archana > > > --------------------------------------------------------------------- > 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]
