|
Home > Archive > WebSphere Portal Server > February 2007 > Portal 6 Themes - The simple answer...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Portal 6 Themes - The simple answer...
|
|
| karld1 2006-12-12, 1: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" in 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\Sheetz_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 also appears to be useless. It looks to me like these pages are designed to read 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 trail 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.
| |
| Jessica Garcia-Glennie 2006-12-12, 7:35 pm |
| 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, open default.jsp, type a space anywhere in the file, remove the space, and save the file. Good luck.
| |
| oliver 2006-12-13, 1: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\s
jnk\WebSphere_Portal\wps\wps.war\themes\html\yourthemename
,delete your theme directory of temp. to ensure the effect, you could add the System.out.println("XXXXX") in your modified file (such as *.jspf file).
enough is never enough
| |
| Michael Harris 2007-01-09, 1: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.
| |
|
| 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 default folder.
Is this temporary directory thing likely the cause? Can I get a bit more detail on that?
| |
|
| Alright, I've done the following:
1. Changed the reload property to true (which I know works, I can modify images)
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?
| |
|
| Alright, I've also tried changing individual pages, but the text still doesn't appear differently.
|
|
|
|
|