[Solved] No theme found for specified theme id classic

4056847, modified 16 Years ago. Junior Member Posts: 46 Join Date: 9/23/09 Recent Posts
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:

<!--?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!
4056847, modified 16 Years ago. Junior Member Posts: 46 Join Date: 9/23/09 Recent Posts
Sorry, I resolved this issue myself.

I first took out the following:

<!--?xml version="1.0"?-->
 2
 3


Followed by removing the extra / in the line

 <root-path>/html/themes/classic/</root-path>