Welcome to Learn Liferay
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
Types of Fragment Tags in Liferay
- Editable Text Tags: Allows inline editing of text content.
- Editable Image Tags: Facilitates image changes directly from the page editor.
- Editable Background Image Tags: Enables you to add an editable background image which can be used in a slider or div.
- Editable Link Tags: Enables link modifications without accessing the source code.
- Editable HTML Tags: Makes HTML elements editable.
- Adding Widgets in Fragments: Enables you to embed widgets in Fragment.
- Date Fragments: Enables customization and localization of date formats.
- 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
Liferay FAQs
What is liferay dxp?
Liferay DXP (Digital Experience Platform) is an enterprise-ready platform used around the world, built on the foundation of Liferay Portal.
How do I create and manage content pages in Liferay DXP?
Content pages can be created and managed through the Site Builder > Pages section. Users can add various fragments and widgets to customize the page.
What is the purpose of using the Document and Media Library in Liferay?
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.
Are Liferay web applications single threading or multithreading?
Depending on the specific use case and requirements, Liferay web applications can be either single-threaded or multithreaded.
What are Master Page Templates and Style Books, and how do they help in site design?
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.
What is the difference between the FreeMarker Template and Headless API approach?
- 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.
Can I create custom experiences for different user groups in Liferay DXP?
Yes, Liferay DXP supports creating unique experiences for different user segments, allowing for tailored content and navigation.
How do I add a custom navigation bar to my site's pages?
Custom navigation bars can be added using Grid Dropdown and Menu Display Fragments, providing flexibility in navigation design.
Is it possible to create a custom theme for my Liferay site?
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.
How can I optimize my liferay site's content for different devices?
Liferay DXP allows you to configure fragments and widgets to be responsive, ensuring optimal viewing on various devices, including tablets and smartphones.
What are the capabilities of Asset Publisher Widgets in Liferay DXP?
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.
Can I integrate external applications into my Liferay site?
Yes, Liferay DXP supports integrating external applications as custom elements or through IFrame Client Extension, allowing for a more dynamic site experience.
How do I manage user permissions and roles in Liferay DXP?
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.
What are the latest features available in Liferay DXP 7.4?
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.