I need to create a own theme for portal and it needs to be develop using Eclipsce Juno. I have decide to customize the classic theme of liferay and i need to know the steps in it and files need to change for this. Please advise and help in this
Asked
Active
Viewed 7,385 times
1
-
2You can just start using [this tutorial](http://www.integratingstuff.com/2011/11/30/styling-liferay-creating-a-liferay-theme/), for example. Overall process didn't change much since then. – Artem Shafranov Oct 03 '12 at 05:09
1 Answers
5
Here are some steps which would help you become a theme developer:
- You can download the latest Liferay IDE plugin for Eclipse Juno.
- Then you can go through the official documentation for creating themes, which is concise and simple.
- Customizing the classic theme is all about taking the various templates (
*.vm
) or css files from the Classic theme and including it in the_diffs
folder of your custom theme. Here is the source.
Go through the official documentation and you will understand the (3) point.
In short I will include how to create a theme project:
- Install Liferay IDE for your eclipse.
- Restart Eclipse
- After going through the steps given in this wiki or this official documentation on Liferay IDE.
- File --> New --> Liferay Project --> Give project name --> Select Liferay Theme as the option
- Click Finish
- Wait for a few seconds and your theme project is ready with the required folder structure.
- As you must be already knowing that Eclipse has a window where you can see
ant
commands, you can select the relevant ant commands to build and deploy the theme or create a WAR to be deployed on your server. - The official documentation will explain how to use the folders that are generated.
Also I would suggest you can checkout the different sample themes available here
Enjoy Themeing!!

Prakash K
- 11,669
- 6
- 51
- 109