2. Deploying Third Party plugins

2.1. Deploying Community Themes

Along with the prepackaged themes in Liferay Portal, there are many additional themes that are available on Liferay’s download page. In this section you will learn how to deploy a community theme onto Liferay Portal.

  1. Go to www.liferay.com.

  2. Click Downloads.

  3. Click Community Themes.

  4. Select a theme. For this demonstration, the Aqua theme will be added. Click on the Breeze theme link.

  5. Choose a location to download from and click Download.

  6. Save file.

  7. Log into Liferay Portal and sign in as the Administrator.

  8. In the Admin Portlet, click on Auto Deploy.

  9. Click Browse and locate the Aqua theme file.

  10. Click Deploy.

  11. To deploy the Aqua theme on the page, click Page Settings.

  12. Click Look and Feel.

  13. Select the Aqua theme to deploy. The figure below shows the Aqua theme deployed.

2.2. Adding Layout Template

The pages of Liferay Portal are organized according to the layout templates used. Seven different layout templates are provided with the option for users to write and add new ones. This section will provide instructions for adding a sample layout template.

  1. Begin by logging in as the Administrator.

  2. To see a list of layout templates that comes prepackaged with Liferay Portal, click Layout.

  3. Seven templates are available.

  4. To add an additional template, go to Liferay’s download page located at http://www.liferay.com/web/guest/downloads.

  5. Click on Liferay Samples.

  6. The sample layout template that will be added contains a 2-1-2 layout. The first row contains two columns of portlets, the second row contains one column of portlets, and the third row contains two columns of portlets. Click on the Sample Layout Template.

  7. Select a location to download from and Save the file.

  8. After the file has been saved, log back in as the Administrator.

  9. In the Admin portlet, click Auto Deploy.

  10. Click Browse to locate the file, and click Deploy.

  11. To verify that the new template has been added, click on Layout.

  12. The 2-1-2 layout template will appear in the list.