Portal 6 Themes - The simple answer...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Portal 6 Themes - The simple answer...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Portal 6 Themes - The simple answer...  
karld1


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-12-06 06:25 PM

We simply want to know how to create our own theme in WebSphere Portal 6.0

I've seen "Creating your own theme" and "Using the color pallet in themes" i
n the Portal 6 Info Center and I must be missing something.

We don't want to make drastic changes.  Basically, we just want to take the 
default IBM theme and modify some of the colors.

We copied the IBM theme and pasted it as our own Sheetz_v6.  About the only 
thing we have done that produces visible results is changing the images in:

 \\servername\wp_profile\installedApps\no
dename\wps.ear\wps.war\themes\html\S
heetz_v6\colors\default

Making changes to default.properties and/or noGradient.properties appears to
 have no effect.

Making changes in styles_theme.jspf and other Java server page fragments als
o appears to be useless.  It looks to me like these pages are designed to re
ad the colors from default.properties, but alas, nothing is changing on the 
page.

So for a simple example, what do I need to change to make the breadcrumb tra
il black instead of blue?

If we can accomplish that, we should also be able to change the font colors 
and backgrounds of other page elements.





[ Post a follow-up to this message ]



    Re: Portal 6 Themes - The simple answer...  
Jessica Garcia-Glennie


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-13-06 12:35 AM

Hello,

I've not worked with themes in 6 yet, but in 5, you have to "touch" default.
jsp in order for WAS to recompile the fragment JSPs.  In order to do this, o
pen default.jsp, type a space anywhere in the file, remove the space, and sa
ve the file.  Good luck.





[ Post a follow-up to this message ]



    Re: Portal 6 Themes - The simple answer...  
oliver


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-13-06 06:42 AM

There are two points:
1.Must set the wps to reloadingEnabled="true", the details in infocenter.
2.try to clear the temp directory , which locates in IBM\WebSphere\profiles\
 wp_profile\temp\sjnk\WebSphere_Portal\wp
s\wps.war\themes\html\yourthemename
,delete your theme directory of temp. to ensure the effect, you could add th
e System.out.println("XXXXX") in your modified file (such as *.jspf file).


enough is never enough





[ Post a follow-up to this message ]



    Re: Portal 6 Themes - The simple answer...  
Michael Harris


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-09-07 06:57 AM

As mentioned in another post, changing the .jsp or .jspf files requires
a recompile of the page.  By default, this is turned off for performance
reasons.  Set reloadingEnabled=true using these instructions:

http://publib.boulder.ibm.com/infoc...dgn_reload.html

You do not need to recompile the page to load changes to
default.properties.  However, the resulting CSS created using that file
is cached in your browser.  In most browsers, you can just hold the
SHIFT key down while pressing the reload button and it will force a
reload.  If that doesn't work, clear your browser's cache.





[ Post a follow-up to this message ]



    Re: Portal 6 Themes - The simple answer...  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-23-07 06:18 PM

Hello.

I've changed the reloading property, and tried the shift + reload (in IE 6),
 but any change I make in the default.properties still doesn't show up.  The
 theme is loaded properly as I can see changes I make to the images in the d
efault folder.

Is this temporary directory thing likely the cause?  Can I get a bit more de
tail on that?





[ Post a follow-up to this message ]



    Re: Portal 6 Themes - The simple answer...  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-23-07 06:18 PM

Alright, I've done the following:

1. Changed the reload property to true (which I know works, I can modify ima
ges)
2. Modified all instances of text color in default.properties
3. Touched Default.jsp
4. Deleted the theme from the temp folder (as listed above)
5. Pressed shift + reload on my browser (IE 6) as well as logging out/in

And I still can't change the color of any of the text.  What am I missing?






[ Post a follow-up to this message ]



    Re: Portal 6 Themes - The simple answer...  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-07 06:19 PM

Alright, I've also tried changing individual pages, but the text still doesn
't appear differently.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:22 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register