Fórum
Custom theme not available
Terry Jeske, modificado 12 Anos atrás.
Custom theme not available
Junior Member Postagens: 42 Data de Entrada: 23/06/10 Postagens Recentes
I created a theme using the Liferay IDE based on the Classic theme. I deploy the theme to my server and it successfully deploys:
When I go to manage the page, the Current theme shows as Classic, but there are no Available themes listed. If I choose "Install More" my theme shows up as an installed theme.
I followed the following instructions from a different post, and my theme is selectable for the default theme, but making it the default has no effect.
My look and feel is as follows, and I am using LF 6.0.6
Any suggestions??
17:30:46,692 INFO [AutoDeployDir:167] Processing BlueTest-theme-6.0.6.1.war
17:30:46,695 INFO [ThemeAutoDeployListener:44] Copying themes for /home/myhome/liferay/deploy/BlueTest-theme-6.0.6.1.war
Expanding: /home/myhome/liferay/deploy/BlueTest-theme-6.0.6.1.war into /home/myhome/liferay/tomcat-6.0.29/temp/20120306173046698
Copying 1 file to /home/myhome/liferay/tomcat-6.0.29/temp/20120306173046698/WEB-INF
Copying 1 file to /home/myhome/liferay/tomcat-6.0.29/temp/20120306173046698/WEB-INF/classes
Copying 1 file to /home/mhome/liferay/tomcat-6.0.29/temp/20120306173046698/WEB-INF/classes
Copying 1 file to /home/myhome/liferay/tomcat-6.0.29/temp/20120306173046698/WEB-INF
Copying 694 files to /home/myhome/liferay/tomcat-6.0.29/webapps/BlueTest-theme
Copying 1 file to /home/myhome/liferay/tomcat-6.0.29/webapps/BlueTest-theme
Deleting directory /home/myhome/liferay/tomcat-6.0.29/temp/20120306173046698
When I go to manage the page, the Current theme shows as Classic, but there are no Available themes listed. If I choose "Install More" my theme shows up as an installed theme.
I followed the following instructions from a different post, and my theme is selectable for the default theme, but making it the default has no effect.
If you are using L6, you can set the default theme in control panel -> setting -> display settings ->
There you can set Default Regular Theme , Default Mobile Theme and Default Control Panel Theme.
My look and feel is as follows, and I am using LF 6.0.6
<look-and-feel>
<compatibility>
<version>6.0.6+</version>
</compatibility>
<theme id="BlueTest" name="BlueTest" />
</look-and-feel>
Any suggestions??
David H Nebinger, modificado 12 Anos atrás.
RE: Custom theme not available
Liferay Legend Postagens: 14917 Data de Entrada: 02/09/06 Postagens Recentes
In the console you should have seen something along the lines of "BlueTest is available for use". If that's not there, that would explain it's being absent as a theme.
Terry Jeske, modificado 12 Anos atrás.
RE: Custom theme not available
Junior Member Postagens: 42 Data de Entrada: 23/06/10 Postagens Recentes
Thx for the reply, I accidentally missed the deploy part of the console dump. It appears to have deployed properly, but is not available.
17:30:48,416 INFO [ThemeAutoDeployListener:50] Themes for /home/mhome/liferay/deploy/BlueTest-theme-6.0.6.1.war copied successfully. Deployment will start in a few seconds.
Mar 6, 2012 5:30:55 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory BlueTest-theme
17:30:55,433 INFO [ThemeHotDeployListener:78] Registering themes for BlueTest-theme
17:30:56,830 INFO [ThemeHotDeployListener:89] 1 theme for BlueTest-theme is available for use
17:31:09,905 INFO [PluginPackageUtil:1230] Checking for available updates
Terry Jeske, modificado 12 Anos atrás.
RE: Custom theme not available
Junior Member Postagens: 42 Data de Entrada: 23/06/10 Postagens Recentes
So to see if loading any theme worked, I installed one from the repository. Once I did that BOTH the newly installed theme, and my custom theme showed as available. Seems like a bug, but at least there is a work around.
Dave Kliczbor, modificado 12 Anos atrás.
RE: Custom theme not available
Junior Member Postagens: 77 Data de Entrada: 12/07/11 Postagens Recentes
The "default theme" only applies to new pages/sites. We had to register our custom theme as default in portal-ext.properties before starting tomcat for the first time...