Pergunta

I've developed a custom theme for Liferay 6.1.1 and it's working fine on my local installation of Liferay. When I try and deploy to my QA server, the theme shows up in the control panel and I'm able to assign the new theme under Control Panel->Site Pages->Look and Feel.

The problem is that thought the theme is assigned, the customization I've done is not reflected in the UI.

The process I'm using to deploy is:

  1. Create theme-name.war file by using the Eclipse "Export" functionality.
  2. Place the war file in the deploy directory.

Is there something I'm doing wrong?

Foi útil?

Solução

Try to open the XML file build-common-theme.xml under the themes folder in your SDK and remove all the preservelastmodified="true" (or set them to false).

preservelastmodified, when true will not update the files timestamp in your theme project. Therefore, your application server will not detect the changes and redeploy the theme.

Outras dicas

In my opinion you should clear the browser cache and then check again.It happened to one of my theme as well.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top