What is Liferay portal – Troubleinthepeace

The article may be missing some images due to their own errors. Please visit the blog chingovan.blogspot.com to see the full article.

You are viewing: What is Liferay portal?

After successfully installing and configuring Liferay on personal computers. At this point, we will go to learn the components in Liferay. I will divide it into two parts and we will go to learn each part one by one: i) the components related to page building (company, site, page, portlet, …), ii) user component (user, group user , organization, …). Now, let’s get started:

Page build:

In this section, we will learn the components to build a portal, which include:

Company: Normally, a website can only be built to meet the needs of a single unit (company, factory, public unit, …). But for Liferay (similar applications, I have not had time to learn). Here, Liferay helps us to create portals for multiple units on the same host. These units are referred to as “company”. In this section, I only guide here, when we become experts we will learn later, and now we will learn the simple things first, just consider this portal to be applied. for a single unit. Site: In earlier versions (<6.2) Liferay called Community. So when is the site used, we use it like this, in every agency there is a hierarchy (branches, departments, ...), so we can create sites for branches and departments. Each site is an independent operating part of the portal, each site will have its own administration. You need to have at least 1 site (default when creating portal), you can create as many sites as you want depending on your needs. Page (page): A Site will be a collection of many Pages (if the Site does not contain any Pages, it will not be displayed). Page will be the place for us to attach the portlets. Portlet: The applications that will be attached to our Page, this will be the part where we develop. Currently, Liferay comes pre-installed with nearly 200 portlets to fulfill basic needs, in addition, we can download portlets on Liferay's app market (you need to register for an account).

We will see, how the components are arranged on Liferay’s default interface:


At default settings, we can see that, there are 3 Sites (2 public and 1 private), currently there are 2 sites (Welcome and About Us), 2 portlets have been added.
On the left, we see 3 buttons (plus button), screen (demo showing screen, tablet and mobile modes), edit button to edit the configuration of the current Site and Page).

More Content:

You click on the (+) button, we have 3 components that can be added: Content (articles, ….), Applications (applications – are the available portlets and the portlets we will develop later. development), Page. We will see in turn:
On the left is a list of available articles and content. We add to our page by holding the left mouse button and dragging to the required position. In the image below, I have dragged 2 new content (besides 2 existing ones) in.


In the list on the left, we can add new articles, content and resources that meet our purpose.
We have resources like Blogs, Bookmarks, Calendar, Web Content, etc. depending on the requirement you can add a new content.


More apps

Next, we open the Applications tab, in this tab contains a list of pre-installed and categorized applications. We can drag the application to the desired position.


More pages

To add a new page, enter the page name and select the layout type, the page type (if it is the Empty page type, we choose the layout for the page) and click the “Add Page” button, we will see a new page appear. on the main menu.


So we have built a basic page. Now, we will see the settings in more detail. You go to “Admin” in the top menu, and select “Control Panel” we will enter the Administration interface.


In the admin interface, we see there are four main sections (User, Site, App and Configuration). We will go through each part. However, I only introduce the main parts, the other parts are self-explanatory.


Portal Settings

We will take a look at the Portlet Setting section: +) General: We will install the main information: Name, Mail Domain, Navigation (Home URL, Default Landing Page (default page after login) and Default Logout Page ( default page after logout) +) Authentication: Login settings, … +) Display Setting: Set language, time zone, lo…. ### App App Manager: +) Manage: List of pre-installed applications, we can Active, Deactive and Uninstall applications. +) Install: Installation interface, we will download applications or link to applications that have been uploaded to the network. The application file will be contained in an LPKG file or a WAR file. This setting will guide after we develop the application. Store: You must register an account on liferay.com. We use this account to log in to Liferay’s App Market. After logging in, we will see a list of applications on the app market. You can select and purchase the desired applications. Purchased: List of purchased applications. … ### Site Site has three parts that we need to care about: Sites, Site Template, Page Template. Sites:

Site interface
Currently, there are three Wear Sites in the system. There are 3 types of Sites: System (system), Public (public) and Private (private). Each site has at least one user (site creator), in addition we can add users to the site with different roles (another article will clarify).
To create a new Site, we click the “Add” button, there are 3 types of Sites that we can add:

Blank Site: This site does not contain any pages, portlets, we will add later: Community Site: As a Site Template, there are 2 pages available and pre-installed community applications. Intranet Site: also a Site Template, available with 3 pages and associated applications.

For the sake of simplicity, we create a site of type Blank Site.

Add new site
We name the Site, make a note and click the Save button to record the new Site (Demo Site).
Interface after creating a new Site:

Edit site information
On the right is the information of the site, we will edit the information according to the requirements of the application. On the left are the Site components including: Page, Content, User and Configure.
+) Page: In this section, we will create Pages for the Site (if no Page is created, the Site will not be displayed). There are 2 types of Public Pages and Private Pages (only members of the site can see). We will add a new Page to the Public Pages section, by clicking the Add Page button.

See also: What is Penalty

Add new page
We name Page (Demo Page) (can be set separately for each different language). Type of Page includes Empty Page (we can choose the layout, above I choose the layout is 1 column), Blog, … Finally, click the “Add Page” button so we can add a new Page to the Site (Demo). Site).

View Site
Click the Site Pages button to see the Site we just created.

Demo Site
Currently, we have one more Site (Demo Site) and one Page (Demo Page). You can now drag applications and resources to your Page.

See also: What is a Course – What are Courses and Credits


This is the user, user group, and organization administration section. I will discuss this in the next section.

(Next post, …)
The article may be missing some images due to their own errors. Please visit the blog chingovan.blogspot.com to see the full article


About Troubleinthepeace

Troubleinthepeace specializing in synthesizing information about daily life activities

View all posts by Troubleinthepeace →

Trả lời

Email của bạn sẽ không được hiển thị công khai.