1

ポータル用に独自のテーマを作成する必要があり、EclipsceJunoを使用して開発する必要があります。私はliferayの古典的なテーマをカスタマイズすることにしました。その中の手順を知る必要があり、そのためにファイルを変更する必要があります。これについてアドバイスし、助けてください

4

1 に答える 1

5

Here are some steps which would help you become a theme developer:

  1. You can download the latest Liferay IDE plugin for Eclipse Juno.
  2. Then you can go through the official documentation for creating themes, which is concise and simple.
  3. 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:

  1. Install Liferay IDE for your eclipse.
  2. Restart Eclipse
  3. After going through the steps given in this wiki or this official documentation on Liferay IDE.
  4. File --> New --> Liferay Project --> Give project name --> Select Liferay Theme as the option
  5. Click Finish
  6. Wait for a few seconds and your theme project is ready with the required folder structure.
  7. 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.
  8. 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 に答える