ポータル用に独自のテーマを作成する必要があり、EclipsceJunoを使用して開発する必要があります。私はliferayの古典的なテーマをカスタマイズすることにしました。その中の手順を知る必要があり、そのためにファイルを変更する必要があります。これについてアドバイスし、助けてください
質問する
7360 次
1 に答える
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!!
于 2012-11-01T13:26:23.577 に答える