Welcome to Learn Liferay

Welcome to the world of Liferay! Liferay is an innovative open-source platform designed for creating digital experiences on the web, mobile, and connected devices. It’s primarily known for its powerful enterprise portal capabilities, which allow organizations to create personalized, content-rich experiences for their users. Liferay is versatile, enabling the development of a wide range of applications from websites to intranet portals and beyond.

Key Features of Liferay

Liferay offers a multitude of features that make it an attractive choice for developers and businesses alike:

  • Content Management: Intuitive tools to manage Liferay web content, documents, and media.
  • Customization: Extensive options for customization to cater to specific business needs.
  • Security: Robust security features ensure safe and secure operation.
  • Social and Collaboration Tools: Built-in social networking and collaboration tools to enhance productivity.
  • Mobile Support: Mobile-friendly design and development options.
  • Integration Capabilities: Seamless integration with existing systems and third-party applications.

Benefits of Using Liferay

Liferay is not just about its features; it’s about the benefits it brings to your business:

  • Scalability: Grows with your business, managing heavy traffic and large amounts of data with ease.
  • Flexibility: Adapts to various business requirements, making it suitable for a wide range of industries.
  • Community Support: A dedicated community providing support, plugins, and insights.
  • Cost-Effective: Being open-source, it reduces licensing costs.

JDK Requirements for Different Versions of Liferay DXP

  • Liferay DXP 7.0: Required IBM J9 JDK 8 or Oracle JDK 8, along with all Java Technical Compatibility Kit (TCK) compliant builds of Java 8. JDK 8 was required for building or compiling Liferay DXP Projects.
  • Liferay DXP 7.1: Supported IBM J9 JDK 8, Oracle JDK 8, Oracle JDK 11, and all TCK-compliant builds of Java 11 and Java 8. JDK 8 was required for building or compiling Liferay DXP Projects.
  • Liferay DXP 7.2: Similar to 7.1, it supported IBM J9 JDK 8, Oracle JDK 8, Oracle JDK 11, and all TCK-compliant builds of Java 11 and Java 8. JDK 8 was required for building or compiling Liferay DXP Projects.
  • Liferay DXP 7.3: Again, supported IBM J9 JDK 8, Oracle JDK 8, Oracle JDK 11, and all TCK-compliant builds of Java 11 and Java 8. JDK 8 was needed for building or compiling Liferay DXP Projects.
  • Liferay DXP 7.4: Supported IBM J9 JDK 8, Oracle JDK 8, Oracle JDK 11, and all TCK-compliant builds of Java 11 and Java 8. As of Q4.2023, compatibility with Java JDK 8 runtime has been deprecated. Java JDK 11 is now the recommended runtime environment.

Please check Liferay Guide: Unleash Liferay’s Full Potential for more Liferay details.

Reserved web content variables

  • ${.vars['reserved-article-title].getData()}
  • ${.vars['reserved-article-url-title'].getData()}
  • ${.vars['reserved-article-asset-tag-names'].getData()}
  • ${.vars['reserved-article-description].getData()}
  • ${.vars['reserved-article-author-name].getData()}

Please check Webcontent Variables in Liferay for more details

Latest Blogs on Learn Liferay

Accessing Document and Media Folders in Liferay
Managing digital assets in Liferay’s Document and Media Library can be straightforward, but accessing the folder structure...
How to Use FreeMarker Template(FTL) in widget Template for Liferay Customization
Introduction Understanding FreeMarker in Liferay ADTs FreeMarker Basics for Liferay ADT Comments Variable Declaration and...

Types of Fragment Tags in Liferay

  1. Editable Text Tags: Allows inline editing of text content.
  2. Editable Image Tags: Facilitates image changes directly from the page editor.
  3. Editable Background Image Tags: Enables you to add an editable background image which can be used in a slider or div.
  4. Editable Link Tags: Enables link modifications without accessing the source code.
  5. Editable HTML Tags: Makes HTML elements editable.
  6. Adding Widgets in Fragments: Enables you to embed widgets in Fragment.
  7. Date Fragments: Enables customization and localization of date formats.
  8. Action-ready Button: Enables you to trigger object actions using button component.
 

Please check Understanding Fragment Tags in Liferay for more details

How-to Guide on Learn Liferay

How to Add Language Key in Liferay: JSP, Fragments, and Templates
In Liferay, you can add language key in liferay in JSP, Fragments, and Templates (e.g., FreeMarker) to make your application...
How can I get unique ID of asset publisher?
You can use the portlet instance id for referring each asset publisher on the page. ${themeDisplay.getPortletDisplay().getId()} Now...
How to increase session timeout in Liferay?
To increase session timeout in Liferay DXP, you need to adjust the session timeout settings in the portal-ext.properties...

Liferay FAQs

Liferay DXP (Digital Experience Platform) is an enterprise-ready platform used around the world, built on the foundation of Liferay Portal.

Content pages can be created and managed through the Site Builder > Pages section. Users can add various fragments and widgets to customize the page.

The Document and Media Library in Liferay is used to store and manage digital assets, including documents, images, and multimedia files. It allows for easy organization, searchability, and permissions management, making it ideal for websites and applications requiring robust document management.

Depending on the specific use case and requirements, Liferay web applications can be either single-threaded or multithreaded.

Master Page Templates allow users to define common page elements like headers and footers, while Style Books help in maintaining uniform styling across the site.

  • FreeMarker Template is used to extract portlet preferences and render HTML elements on the server side.
  • Headless API is used to perform client-side operations using AJAX calls to retrieve and manipulate folder and document data dynamically.

Yes, Liferay DXP supports creating unique experiences for different user segments, allowing for tailored content and navigation.

Custom navigation bars can be added using Grid Dropdown and Menu Display Fragments, providing flexibility in navigation design.

Yes, you can create a custom theme by developing a liferay theme using Yeoman.
You can go through this liferay theme development tutorial for more details.

Liferay DXP allows you to configure fragments and widgets to be responsive, ensuring optimal viewing on various devices, including tablets and smartphones.

The Asset Publisher Widget is a versatile tool in Liferay DXP that can be used to display various content types like blog entries, and can be customized in terms of the number of items displayed and content sources.

Yes, Liferay DXP supports integrating external applications as custom elements or through IFrame Client Extension, allowing for a more dynamic site experience.

User permissions and roles can be managed through the Control Panel, where you can assign roles like Site Content Creator and define specific permissions for each role.

Liferay DXP 7.4 introduces several new features and improvements, including enhanced content management capabilities, improved user experience design options, and more robust integration features.