Exporting/Importing Site Templates
You can export and import site templates to share them between Liferay installations.
Exporting Individual Site Templates
-
Open the Global Menu (), go to the Control Panel, and click Site Templates.
-
Click the site template you want to export.
-
Open the Product Menu (), expand Publishing, and click Export.
-
Click Add () to create a new export process.
This opens an export template.
-
Enter a title for the export process.
-
Configure the export process by selecting the template pages and content you want to export.
-
Click Export to begin the export process.
Once finished, click the Download button () to download the generated LAR file.
Importing Individual Site Templates
-
Open the Global Menu (), go to the Control Panel, and click Site Templates.
-
Create a site template.
-
Click the new site template.
-
Open the Product Menu (), expand Publishing, and click Import.
-
Click Add () to create a new import process.
-
Add the desired LAR file and click Continue.
-
Review and configure the import process.
-
Click Import to begin importing.
Once complete, you can use the imported site template to create sites.
Bulk Export/Import
-
Open the Global Menu (), go to the Control Panel, and click Site Templates.
-
Click Options () in the Application Bar and select Export/Import.
-
Go to the Export or Import tab to start the desired process.
Configuration options for bulk export are mostly the same as when exporting individual site templates. However, you cannot configure the pages and content included for each template. Also unlike individual exports, you can determine whether page templates are included in your export.
Configuration options for bulk import are mostly the same as when importing individual site templates. However, you can determine whether page templates included in the LAR file are imported with the site templates.