Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to   
Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Portal V5 - Modify theme?




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

    Portal V5 - Modify theme?  
Jeff Snyder


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


 
01-19-04 08:00 PM

I am trying to create a new them based on the default portal theme.  I
created a new folder (mytheme) under html\themes and copied the contents of
the websphere folder into it along with the JSPs from html directory
(default, head, placebar,etc.)  However my theme is still referencing the
JSPs in the HTML dir.  Any changes made to those JSP's show up in both
themes.

I restart the server , clear cache, etc. but I can't get it to recognize any
updates in the thml\themes\mytheme folder.

Any suggestions?

Thanks, Jeff







[ Post a follow-up to this message ]



    Re: Portal V5 - Modify theme?  
Oliver Meyer


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


 
01-19-04 08:00 PM

Jeff,
the Default.jsp contains includes to other JSPs. So my assumption is
that the Default.jsp of your theme includes the JSPs from the html
directory, and not the JSPs from your theme directory.
However, since you copied the contents of the "WebSphere" directory, I
am a bit confused now. This directory does not contain its own version
of Default.jsp...

Oliver

Jeff Snyder wrote:
quote:
> > I am trying to create a new them based on the default portal theme. I > created a new folder (mytheme) under html\themes and copied the contents o f > the websphere folder into it along with the JSPs from html directory > (default, head, placebar,etc.) However my theme is still referencing the > JSPs in the HTML dir. Any changes made to those JSP's show up in both > themes. > > I restart the server , clear cache, etc. but I can't get it to recognize a ny > updates in the thml\themes\mytheme folder. > > Any suggestions? > > Thanks, Jeff




[ Post a follow-up to this message ]



    Re: Portal V5 - Modify theme?  
Jeff Snyder


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


 
01-19-04 08:00 PM

I copied over the gifs from the websphere directory.  I copied Default.JSP
into the mytheme folder from the html directory.  Default JSP is the one
that I updated but I could not get it to recognize the changes made to
default.jsp in the mytheme folder.  When I changed the default.jsp in the
html folder I could see the changes.

My understanding is that default.jsp is the first thing that wps looks at
when rendering a theme and that it should first look in the directory of the
current theme.

"Oliver Meyer" <meyer_oliver@gmx.de> wrote in message
news:3F9632F9.65458F2A@gmx.de...[QUOTE]
> Jeff,
> the Default.jsp contains includes to other JSPs. So my assumption is
> that the Default.jsp of your theme includes the JSPs from the html
> directory, and not the JSPs from your theme directory.
> However, since you copied the contents of the "WebSphere" directory, I
> am a bit confused now. This directory does not contain its own version
> of Default.jsp...
>
> Oliver
>
> Jeff Snyder wrote: 
of[QUOTE] 
the[QUOTE] 
any[QUOTE] 







[ Post a follow-up to this message ]



    Re: Portal V5 - Modify theme?  
Oliver Meyer


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


 
01-19-04 08:00 PM

Jeff,
this looks like your theme does not get picked up at all. Instead of
picking up your theme, the default theme gets picked up. This is why
changes to the default theme seem to influence your theme, too.
To verify this, you could write some output into the Default.jsp from
both your theme and the default theme. Something like "Default.jsp
mytheme" and "Default.jsp default theme". This way, you could see in
your browser, if your theme gets picked up, or if the default theme is
used.

Oliver

Jeff Snyder wrote:[QUOTE]
>
> I copied over the gifs from the websphere directory.  I copied Default.JSP
> into the mytheme folder from the html directory.  Default JSP is the one
> that I updated but I could not get it to recognize the changes made to
> default.jsp in the mytheme folder.  When I changed the default.jsp in the
> html folder I could see the changes.
>
> My understanding is that default.jsp is the first thing that wps looks at
> when rendering a theme and that it should first look in the directory of t
he
> current theme.
>
> "Oliver Meyer" <meyer_oliver@gmx.de> wrote in message
> news:3F9632F9.65458F2A@gmx.de... 
> of 
> the 
> any 





[ Post a follow-up to this message ]



    Re: Portal V5 - Modify theme?  
John Holtman


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


 
01-19-04 08:01 PM

WP v5 the default behavior does not refresh themes if you change them. The
only way to see your changes is to restart the Portal server. This behavior
can be altered by changing the following file:

<was_root>\config\cells\<node_name>\applications\wps.ear\deployments\wps\wps
.war\WEB-INF\ibm-web-ext.xmi

Search for "reloadingEnabled" and change the setting to "true". Save the
file and restart the portal.

IMPORTANT NOTES: There is another attribute in the file named "reloadEnable"
that is already set to "true" by default. You want to locate and change
"reloadingEnabled" in the XMI header.

BEST PRACTICE: There is a performance impact when running with
"reloadingEnabled" set to "true". Only use this setting during Theme
development and testing, then reset it to false. Never set it
to true on a production server.


"Jeff Snyder" <jeff_snyder@troweprice.com> wrote in message
news:bn3mvp$65c6$1@news.boulder.ibm.com...
quote:
> I am trying to create a new them based on the default portal theme. I > created a new folder (mytheme) under html\themes and copied the contents
of
quote:
> the websphere folder into it along with the JSPs from html directory > (default, head, placebar,etc.) However my theme is still referencing the > JSPs in the HTML dir. Any changes made to those JSP's show up in both > themes. > > I restart the server , clear cache, etc. but I can't get it to recognize
any
quote:
> updates in the thml\themes\mytheme folder. > > Any suggestions? > > Thanks, Jeff > >




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:39 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
 

Back To The Top
Home | Usercp | Faq | Register