With the Plugins SDK you can deploy layout templates as plugins, and creating layout templates with Liferay Developer Studio is easier than ever. Let’s call our layout template called Columns 1 4 1.
Using Developer Studio:
Go to File → New → Liferay Project.
Fill in the Project and Display names, which are “columns-1-4-1” and “Columns 1 4 1”, respectively.
Select the appropriate Plugins SDK and Portal Runtime.
Select Layout as your plugin type.
Figure 6.1: Creating a custom layout template project in Studio
Using the terminal: Navigate to your Plugins SDK’s layouttpl folder, and execute the create script in your terminal. Here’s the generic version of the create script, followed by operating system-specific commands: