Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Overview of this book

Table of Contents (19 chapters)
Liferay 6.x Portal Enterprise Intranets Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Using page templates and site templates for quick site and page creation


In some cases, selected groups or even all sites within the intranet should contain the same set of pages, including the same set of portlets. This model can be employed, for example, when sites are used as department websites or project spaces. Liferay provides a very effective tool that allows us to create whole preconfigured sites or pages from templates prepared earlier. It is also possible to enable the connection between the template and the site, which will ensure live propagation of changes.

How to do it…

In this recipe, we will show you how to create a standalone site using site templates and how to create a single page from the page template.

In order to create a standalone site using a site template, perform these steps:

  1. Login as an administrator and go to Admin | Control Panel | Sites.

  2. Click on the Add button.

  3. Choose the template you want to use from the drop-down list (for example, Community Site).

  4. Provide the...