How To Create Web Content In Liferay 6.2

Liferay provides a powerful content management system, which allows the site administrator to create web content with little effort.

In this article, we will learn about how to create web content.

We will also learn how to display the web content on a site page using the web content display portlet.

Version details: Liferay 6.2

The below are the main steps:

  • Create web content from control panel.
  • Add Liferay’s Web content display portlet into site page.

Create Web content from the control panel

Log in to the Liferay portal with the administrator credentials. On the toolbar, select Admin > Content as shown below.

1

On the control panel page, we can see the option to create web content. Select option Add > Basic Web Content as shown below.

2

An HTML editor with rich features(WYSIWYG editor) will open up. Using the WYSIWYG editor, we can create our web content add media from the Document and media library, insert links, etc.

Enter the web content on the editor and click on Publish button.

4

Add Web content display portlet into the site page

Now the web content has been created. We can add Web content display portlet to display our content on our site page.

Navigate to the site’s home page and click on Add button (+ icon). Select Content tab. Select the created web content from the available list and click on Add button or drag and drop it to the site page.

5

We have successfully added our content to the page now. We can select different web contents or edit the existing one by using the options available on the Web content Display portlet.

The below image shows the web content added to a site page.

6

Conclusion

In this article, we learned how to create web content in Liferay 6.2

We also learned how to add the created web content to Liferay portals pages.

How To Create Web Content In Liferay 6.2
Scroll to top

Discover more from ASB Notebook

Subscribe now to keep reading and get access to the full archive.

Continue reading