Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
Kesava Kota
Not able to change theme dynamically
26 de marzo de 2011 6:27

Kesava Kota

Ranking: New Member

Mensajes: 14

Fecha de incorporación: 28 de febrero de 2011

Mensajes recientes


We have a custom theme created for our community. Even for a minor change we have to restart tomcat for the change to get reflected. Is there a way to dynamically change the theme with out restarting the tomcat. Please help us as this is really making things hard for us to progress.

Alexandre FILLATRE
RE: Not able to change theme dynamically
26 de marzo de 2011 6:44

Alexandre FILLATRE

Ranking: Junior Member

Mensajes: 80

Fecha de incorporación: 2 de diciembre de 2010

Mensajes recientes

Hi Kesava,

By default, Liferay is using it's own cache, to render pages faster. You'll need to deactivate it in development environments.
I suggest you take a look at the file named "", located in the Liferay source (the real sources, not the ext or plugin projects).

Those caches work for Javascript, velocity, etc. We usually deactivate all of them in our development plateforms. To do so, just include "" in your portal-*.properties (usually not the, as you don't want to get ride of the caches in a production environement).


If you only want the theme caches to be removed, just add the following lines in

Alexandre FILLATRE