掲示板
multiple themes with different parents
7年前 に Charles Senard によって更新されました。
multiple themes with different parents
New Member 投稿: 2 参加年月日: 17/03/22 最新の投稿
Hello there,
I am working on a theme development with Liferay 6.2.5.
I need to allow the administrator to choose between two themes that have to coexist in the same package.
One already exists and its parent is 'classic'.
My new theme needs to have the '_unstyled' parent.
I can't find any information on how to specify a different parent for each theme. Is it possible ?
Thanks a lot for your help.
Charles
Please find here the current liferay-look-and-feel.xml and the <properties> tag from pom.xml :
I am working on a theme development with Liferay 6.2.5.
I need to allow the administrator to choose between two themes that have to coexist in the same package.
One already exists and its parent is 'classic'.
My new theme needs to have the '_unstyled' parent.
I can't find any information on how to specify a different parent for each theme. Is it possible ?
Thanks a lot for your help.
Charles
Please find here the current liferay-look-and-feel.xml and the <properties> tag from pom.xml :
<look-and-feel>
<compatibility>
<version>6.2.1+</version>
</compatibility>
<theme id="CUSTOM_THEME_1" name="CUSTOM 1">
<root-path>/V1</root-path>
</theme>
<theme id="CUSTOM_THEME_2" name="CUSTOM 2">
<root-path>/V2</root-path>
</theme>
</look-and-feel>
<properties>
<liferay.theme.parent>classic</liferay.theme.parent>
<liferay.theme.type>vm</liferay.theme.type>
<project.build.sourceencoding>ISO-8859-1</project.build.sourceencoding>
<liferay.version>6.2.5</liferay.version>
<liferay.maven.plugin.version>6.2.10.6</liferay.maven.plugin.version>
<war.name>CUSTOME_THEME</war.name>
</properties>
7年前 に Olaf Kock によって更新されました。
RE: multiple themes with different parents
Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿Charles Senard:
I can't find any information on how to specify a different parent for each theme. Is it possible ?
it's in build.xml
7年前 に Charles Senard によって更新されました。
RE: multiple themes with different parents
New Member 投稿: 2 参加年月日: 17/03/22 最新の投稿
Hello Olaf and thank you for your fast answer;
Can you be a bit more precise and give me the syntax to use in build.xml to achieve this ?
Thanks a lot
Charles
Can you be a bit more precise and give me the syntax to use in build.xml to achieve this ?
Thanks a lot
Charles