Fórum
customizing the theme
Narmada V, modificado 11 Anos atrás.
customizing the theme
Junior Member Postagens: 37 Data de Entrada: 14/05/12 Postagens Recentes
Hi all,
i want to customize the theme of the pages in liferay. i have added the new theme id in liferay-look-and-feel.xml as below.
<theme id="testTheme" name="TestTheme">
<root-path>/html/themes/testTheme</root-path>
<templates-path>/html/themes/testTheme/templates</templates-path>
<images-path>/html/themes/testTheme/images</images-path>
<template-extension >vm</template-extension>
<settings>
<setting key="my-setting" value="example-value"/>
</settings>
<color-scheme id="01" name="Red">
<css-class>red</css-class>
<color-scheme-images-path>${images-path}/color_schemes/${css-class}</color-scheme-images-path>
</color-scheme>
</theme>
i have modified the background color in custom.css present in .........\ROOT\html\themes\testTheme\css folder but the background color doesnt change.
so i have changed the background color in red.css present in ...........\ROOT\html\themes\testTheme\css\color_schemes even then my background color doesnot change.
I am having same problem even with the background images. Can any one tell me the exact file where i need to change the color and image to get these changes to be reflected on liferay
i want to customize the theme of the pages in liferay. i have added the new theme id in liferay-look-and-feel.xml as below.
<theme id="testTheme" name="TestTheme">
<root-path>/html/themes/testTheme</root-path>
<templates-path>/html/themes/testTheme/templates</templates-path>
<images-path>/html/themes/testTheme/images</images-path>
<template-extension >vm</template-extension>
<settings>
<setting key="my-setting" value="example-value"/>
</settings>
<color-scheme id="01" name="Red">
<css-class>red</css-class>
<color-scheme-images-path>${images-path}/color_schemes/${css-class}</color-scheme-images-path>
</color-scheme>
</theme>
i have modified the background color in custom.css present in .........\ROOT\html\themes\testTheme\css folder but the background color doesnt change.
so i have changed the background color in red.css present in ...........\ROOT\html\themes\testTheme\css\color_schemes even then my background color doesnot change.
I am having same problem even with the background images. Can any one tell me the exact file where i need to change the color and image to get these changes to be reflected on liferay
Kavita Gupta, modificado 11 Anos atrás.
RE: customizing the theme
Junior Member Postagens: 64 Data de Entrada: 12/03/08 Postagens Recentes
Hi,
You have directly created your theme in Root FOLDER or you have used plugin for creating your custom theme?
Regards,
Kavita
You have directly created your theme in Root FOLDER or you have used plugin for creating your custom theme?
Regards,
Kavita
Narmada V, modificado 11 Anos atrás.
RE: customizing the theme
Junior Member Postagens: 37 Data de Entrada: 14/05/12 Postagens Recentes
i have directly created a theme directly in the ROOT folder.
the changes i am doing are reflecting in the portal but after a long time lag. I donot know why this is happening.
Even the changes are different in Mozilla and IE.
the changes i am doing are reflecting in the portal but after a long time lag. I donot know why this is happening.
Even the changes are different in Mozilla and IE.
Sandeep Nair, modificado 11 Anos atrás.
RE: customizing the theme
Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi,
Its not the recommended way to create themes. You should use plugins sdk to create the theme.
Regards,
Sandeep
Its not the recommended way to create themes. You should use plugins sdk to create the theme.
Regards,
Sandeep
Nikhil Nishchal, modificado 11 Anos atrás.
RE: customizing the theme
Regular Member Postagens: 177 Data de Entrada: 22/06/12 Postagens Recentes
Try to check after clearing the cache from control panel.
Control panel>server> Server Administration
Clear content cached by this VM.
Clear content cached across the cluster.
(excute) those
Control panel>server> Server Administration
Clear content cached by this VM.
Clear content cached across the cluster.
(excute) those
Sachin Mane, modificado 11 Anos atrás.
RE: customizing the theme
Junior Member Postagens: 76 Data de Entrada: 10/04/12 Postagens Recentes
Also enable the developer mode as described at http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+Developer+Mode
With developer mode changes made to vm templates/css/js are reflected instantly.
You should also create theme project using liferay SDK and make your changes in _diff folder and then do ant deploy.
With developer mode changes made to vm templates/css/js are reflected instantly.
You should also create theme project using liferay SDK and make your changes in _diff folder and then do ant deploy.
Kumar Bonagiri, modificado 11 Anos atrás.
RE: customizing the theme
Junior Member Postagens: 35 Data de Entrada: 23/04/12 Postagens Recentes
Hey
download the plugin's SDK at
http://www.liferay.com/downloads/liferay-portal/available-releases
go through this doc once.
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-liferay-them-7
download the plugin's SDK at
http://www.liferay.com/downloads/liferay-portal/available-releases
go through this doc once.
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-liferay-them-7