Layout template plugins
As mentioned earlier, Liferay Plugins SDK provides a set of default templates, such as, EAR, Ext, hook, layout template, portlet, theme, and so on. The previous chapter has introduced portlet, ext, hook, and web projects templates. This section is going to introduce layout template project's default template. The theme project's default template will be introduced in the next section.
Layout template
Liferay Plugins SDK provides layout template project's default template. This default template has the following structure. The layout template project's folder name is represented as @layouttpl.name@-layouttpl
. For example, @layouttpl.name@
has the value 1-2-1-columns
for 1-2-1
layout templates. Under the folder @layouttpl.name@-layouttpl
, there is a folder named docroot
and an XML file called build.xml
. As you can see, build.xml
has the following code:
<!DOCTYPE project> <project name="@layouttpl.name@-layouttpl" basedir="." default="deploy"> <import...