Q:
I am creating a custom theme in liferay-portal-tomcat 6.0 version
but when i deploy my theme war file in liferay-portal-tomact-6.1.0-ce-ga1 its not shown in Installed theme...
I dont know why but when i deploy it in liferay-portal-tomcat 6.0 version ,its working perfectly
is it version problem
I am using liferay-portal-tomcat 6.0 and liferay-plugins-sdk-6.1.0
____________________________________________________________________
A:
You should use the version of the SDK that matches your Liferay version you're targeting - 6.0 SDK for Liferay 6.0, the 6.1 SDK for 6.1...
_________________________________________________________________
Make sure that the theme is selected in the page(s) you want to apply it.
thanks for reply...... you are right
I just checked liferay-look-and-feel.xml
it create
<look-and-feel>
<compatibility>
<version>6.0.0+</version>
</compatibility>
so if I want to deploy this theme in 6.1.0 then i need to change it in
this
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
am i right??????
____________________________________________________________________________
I am creating a custom theme in liferay-portal-tomcat 6.0 version
but when i deploy my theme war file in liferay-portal-tomact-6.1.0-ce-ga1 its not shown in Installed theme...
I dont know why but when i deploy it in liferay-portal-tomcat 6.0 version ,its working perfectly
is it version problem
I am using liferay-portal-tomcat 6.0 and liferay-plugins-sdk-6.1.0
____________________________________________________________________
A:
You should use the version of the SDK that matches your Liferay version you're targeting - 6.0 SDK for Liferay 6.0, the 6.1 SDK for 6.1...
_________________________________________________________________
Q: but is it
possible that if I create a theme in liferay 6.0 env and i deploy that theme in
liferay6.1???
that theme can work in liferay6.1????
that theme can work in liferay6.1????
A:
yes. Simply change the version
number in [theme dir]/docrrot/WEB-INF/liferay-look-and-feel.xml:
<?xml
version="1.0"?>
<!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.1.0//EN" "http://www.liferay.com/dtd/liferay-look-and-feel_6_1_0.dtd">
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
<theme id="myThemeId" name="myThemeId" />
</look-and-feel>
<!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.1.0//EN" "http://www.liferay.com/dtd/liferay-look-and-feel_6_1_0.dtd">
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
<theme id="myThemeId" name="myThemeId" />
</look-and-feel>
Make sure that the theme is selected in the page(s) you want to apply it.
Are you sure you're using 6.1.0 SDK and deploying it on
Liferay 6.0.x?
6.1.0 SDK should create a liferay-look-and-feel.xml containing the content below, which implies it'll work on version 6.1.0 or higher.
Thus, it shouldn't deploy properly on Liferay 6.0.x.
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
To deploy theme developed with 6.1.0 SDK on Liferay 6.0.x, just change the version to 6.0.0+
<look-and-feel>
<compatibility>
<version>6.0.0+</version>
</compatibility> Are you sure you're using 6.1.0 SDK and deploying it on Liferay 6.0.x?
6.1.0 SDK should create a liferay-look-and-feel.xml containing the content below, which implies it'll work on version 6.1.0 or higher.
Thus, it shouldn't deploy properly on Liferay 6.0.x.
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
To deploy theme developed with 6.1.0 SDK on Liferay 6.0.x, just change the version to 6.0.0+
<look-and-feel>
<compatibility>
<version>6.0.0+</version>
</compatibility>
6.1.0 SDK should create a liferay-look-and-feel.xml containing the content below, which implies it'll work on version 6.1.0 or higher.
Thus, it shouldn't deploy properly on Liferay 6.0.x.
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
To deploy theme developed with 6.1.0 SDK on Liferay 6.0.x, just change the version to 6.0.0+
<look-and-feel>
<compatibility>
<version>6.0.0+</version>
</compatibility> Are you sure you're using 6.1.0 SDK and deploying it on Liferay 6.0.x?
6.1.0 SDK should create a liferay-look-and-feel.xml containing the content below, which implies it'll work on version 6.1.0 or higher.
Thus, it shouldn't deploy properly on Liferay 6.0.x.
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
To deploy theme developed with 6.1.0 SDK on Liferay 6.0.x, just change the version to 6.0.0+
<look-and-feel>
<compatibility>
<version>6.0.0+</version>
</compatibility>
thanks for reply...... you are right
I just checked liferay-look-and-feel.xml
it create
<look-and-feel>
<compatibility>
<version>6.0.0+</version>
</compatibility>
so if I want to deploy this theme in 6.1.0 then i need to change it in
this
<look-and-feel>
<compatibility>
<version>6.1.0+</version>
</compatibility>
am i right??????
____________________________________________________________________________
Professional Liferay Theme Development
Liferay themes can be integration to match virtually any look
and feel of your Portal. Theme is not as simple as creating a flat html
webpage, Our designers deliver you a beautiful, intelligently implemented theme
with a high attention to detail.
No comments:
Post a Comment