Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
[Solved] No theme found for specified theme id classic
First of all apologies as I am a very new Liferay user. I have been stumbling on by to try and create my own theme, but have been going around in circles for the past few days.
I am not sure where the default theme is being called from - from my understanding it is the liferay-look-and-feel.xml file. I have been playing around with this, and upon trying to return it to its previous state (silly me I managed to remove the backup) perhaps I have made an error here:
The directory structure that I have is presently:
E:\liferay\tomcat-6.018\webapps\ROOT\html\themes\classic
as the lifefay-look-and-feel.xml is located in E:\liferay\tomcat-6.018\webapps\ROOT\WEB-INF
then I would have thought that the root paths should point to ../html/themes/classic
I have tried that, as well as what is already listed in the file. However neither time I am finding the classic theme.
When I go into my control panel on the website it changed the default to style-unsampled which I had downloaded earlier. I then downloaded the Brochure theme and that is the current theme on the site. However, when I click on the available styles I only see Brochure and style unsampled. There is no mention at all of the default classic style.
Where have I gone wrong here?
Thanks for any help!
I am not sure where the default theme is being called from - from my understanding it is the liferay-look-and-feel.xml file. I have been playing around with this, and upon trying to return it to its previous state (silly me I managed to remove the backup) perhaps I have made an error here:
<!--?xml version="1.0"?-->
<look-and-feel>
<compatibility>
<version>5.2.0+</version>
</compatibility>
<company-limit>
<company-includes />
<company-excludes />
</company-limit>
<theme id="classic" name="classic">
<root-path>/html/themes/classic/</root-path>
<templates-path>/html/themes/classic/templates</templates-path>
<images-path>/html/themes/classic/images</images-path>
<template-extension>vm</template-extension>
<settings>
<setting key="bullet-style-options" value="1,2" />
<setting key="hello" value="world" />
<setting key="hi" value="mom" />
</settings>
<roles>
<role-name>User</role-name>
</roles>
<color-scheme id="01" name="default">
</color-scheme>
</theme>
<theme id="control-panel" name="Control Panel">
<root-path>/html/themes/control_panel</root-path>
</theme>
</look-and-feel>The directory structure that I have is presently:
E:\liferay\tomcat-6.018\webapps\ROOT\html\themes\classic
as the lifefay-look-and-feel.xml is located in E:\liferay\tomcat-6.018\webapps\ROOT\WEB-INF
then I would have thought that the root paths should point to ../html/themes/classic
I have tried that, as well as what is already listed in the file. However neither time I am finding the classic theme.
When I go into my control panel on the website it changed the default to style-unsampled which I had downloaded earlier. I then downloaded the Brochure theme and that is the current theme on the site. However, when I click on the available styles I only see Brochure and style unsampled. There is no mention at all of the default classic style.
Where have I gone wrong here?
Thanks for any help!
Sorry, I resolved this issue myself.
I first took out the following:
Followed by removing the extra / in the line
I first took out the following:
<!--?xml version="1.0"?-->
2
3Followed by removing the extra / in the line
<root-path>/html/themes/classic/</root-path>