-
Book Overview & Buying
-
Table Of Contents
Liferay 6.x Portal Enterprise Intranets Cookbook
By :
Liferay gives users interesting features: structures and templates. Structures provide information about possible fields in our content, and templates are responsible for rendering these fields as an article in a frontend (for instance, in the Asset Publisher or Web Content Display portlet).
Let's assume that our goal is to define a new structure and template called Internal publication. This structure consists of the following fields:
|
Name |
Type |
Required |
Repeatable |
|---|---|---|---|
|
Author |
Text |
Yes |
No |
|
Department |
Select |
Yes |
No |
|
Project |
Text Box |
No |
No |
|
Client |
Text |
Yes |
No |
|
Content |
HTML |
No |
No |
|
Attachment |
Documents and Media |
No |
Yes |
In order to define a new structure, it is required that you log in as a user with the Add Structure permission in the Web Content section. To achieve this goal, go through the following steps:
Log in as an administrator.
Go to Admin | Site Administration | Content | Web Content.
Click on the Manage option and choose Structures...
Change the font size
Change margin width
Change background colour