Search

Displaying Object Entries
Displaying Object Entries Liferay 7.4+ With Liferay Objects, you can use existing DXP frameworks to display Object entries dynamically in Sites. This includes collection displays for multiple...
Last Modified: May 6, 2024 5:04 AM
Mapping Web Content Templates to Fragments
Mapping Web Content Templates to Fragments By default, you can map web content structure fields holding a single value (such as date, numeric, image, number, or text) to fragments. For multi-value...
Last Modified: May 8, 2024 6:38 AM
Page Fragments and Widgets
Page Fragments and Widgets Liferay provides page fragments and widgets for building site pages and page templates. Fragments cannot be used in widget pages. They are only available in content...
Last Modified: May 6, 2024 6:20 AM
Configuring Fragment Visibility
Configuring Fragment Visibility Available: Liferay DXP/Portal 7.4+ Fragments can be used to assemble Content Pages with a variety of layouts and information. Starting with Liferay DXP 7.4, you...
Last Modified: May 6, 2024 6:20 AM
Configuring Fragments
Configuring Fragments You can configure fragments and their sub-elements. Available options can vary, though some are common to all. To view available configuration options, begin editing a page...
Last Modified: May 6, 2024 6:21 AM
Advanced Settings Reference
Advanced Settings Reference Available 7.4 U37+/GA37+ All Liferay's default fragments include advanced settings except for the Collection Display fragment. Advanced settings can add custom CSS to...
Last Modified: May 6, 2024 6:21 AM
Fragment Sub-Elements Reference
Fragment Sub-Elements Reference In addition to General and Style settings, many fragments include sub-elements with their own configuration options. To access these options, begin editing a page...
Last Modified: May 6, 2024 6:21 AM
Creating Dropdown Menus with Fragments
Creating Dropdown Menus with Fragments Available: Liferay DXP/Portal 7.4+. Liferay provides the Dropdown Fragment to create advanced drop-down menus (A). With it, you can define drop zones for...
Last Modified: May 6, 2024 6:23 AM
Default Fragments Reference
Default Fragments Reference Liferay provides a variety of fragments out-of-the-box, so you can start building your solution right away. To view available fragments, begin editing a content page or...
Last Modified: May 6, 2024 6:23 AM
General Settings Reference
General Settings Reference All fragments have general settings. Some of these options are standard (e.g., visibility and frame), while others are unique to each fragment. The following reference...
Last Modified: May 6, 2024 6:22 AM
Localizing Fragment Configuration Fields
Localizing Fragment Configuration Fields Available: Liferay DXP/Portal 7.4+ When using Liferay Fragments, you can localize the following Fragment configuration fields to match your target...
Last Modified: May 6, 2024 6:22 AM
Styles Reference
Styles Reference All fragments have a Styles settings section except for the Collection Display fragment. Use the style settings to configure your fragments' look and feel. Many of these options...
Last Modified: May 6, 2024 6:22 AM
Filtering Collections on a Page
Filtering Collections on a Page To improve the experience for Users viewing Collections on your Site, you can add Page Fragments to filter content in those Collections. For example, you can add a...
Last Modified: May 6, 2024 6:45 AM
Displaying Collections
Displaying Collections Liferay Portal 7.4 GA6+, DXP 7.3 GA1+ You can display a collection by adding a collection page, or a collection display fragment. For more information about these display...
Last Modified: May 6, 2024 6:47 AM
Building Responsive Layouts with the Grid Fragment
Building Responsive Layouts with the Grid Fragment Availability: Liferay DXP 7.3+. Liferay DXP uses responsive design by default, but there are situations where you want additional and more...
Last Modified: May 6, 2024 6:54 AM
Duplicating Fragments
Duplicating Fragments When building a Page or Template with Fragments, you can duplicate configured Fragments to save time. A duplicated Fragment includes the original Fragment's settings,...
Last Modified: May 6, 2024 6:23 AM
Editing Fragment Elements
Editing Fragment Elements Coming Soon!
Last Modified: May 6, 2024 6:24 AM
Managing Fragments
Managing Fragments Liferay DXP provides tools for managing fragments in the Liferay UI. With out-of-the-box tools, you can quickly edit fragment code, export/import fragment sets between sites,...
Last Modified: May 6, 2024 6:24 AM
Mapping and Linking Fragment Elements
Mapping and Linking Fragment Elements Coming Soon!
Last Modified: May 6, 2024 6:25 AM
Propagating Fragment Changes
Propagating Fragment Changes By default, changes made to a custom fragment's code are not propagated to deployed instances of the fragment. Using Fragment Propagation, you can propagate changes to...
Last Modified: May 6, 2024 6:25 AM
Saving Fragment Compositions
Saving Fragment Compositions Layout and composition are the foundation of your Page design. When you get this right, your Pages are easier to read and navigate, resulting in a richer and more...
Last Modified: May 6, 2024 6:25 AM
Using Layout Elements
Using Layout Elements For Liferay 7.4 U22+/GA22+ Layout elements define drop zones for designing page or template layouts. By default, Liferay includes two layout elements: Containers and Grids....
Last Modified: May 6, 2024 6:26 AM
Configuring Menu Displays
Configuring Menu Displays To display and configure a menu display, you can use the Menu display fragment or a menu display widget. With either of these two options, you can define the menu display...
Last Modified: May 6, 2024 7:14 AM
Auto-Deploying Fragments
Auto-Deploying Fragments Liferay Portal 7.3 GA1+ or Liferay DXP 7.3+ If you're developing page fragments with your own tooling, you can deploy them by packaging them in ZIP files for importing...
Last Modified: May 6, 2024 6:38 AM
Creating a Contributed Fragment Set
Creating a Contributed Fragment Set Contributed Fragment Sets are deployable modules containing Page Fragments. Fragments in a contributed Set can be used just like regular Fragments, but aren't...
Last Modified: May 6, 2024 6:39 AM
Creating Form Fragments
Creating Form Fragments Liferay 7.4 U45+/GA45+ The form components fragments are for building your object's forms in a content page. If Liferay's form fragments don't satisfy your use case,...
Last Modified: May 6, 2024 6:39 AM
Developing Page Fragments
Developing Page Fragments Developing Fragments Using the Fragments Editor Using the Fragments Toolkit Adding Configuration Options to Fragments Best Practices for Using Fragment Configurations...
Last Modified: May 6, 2024 6:37 AM
Developer Guide
Developer Guide This section includes Developer related articles for Site Building.
Last Modified: May 6, 2024 6:37 AM
Adding Configuration Options to Fragments
Adding Configuration Options to Fragments Available: Liferay DXP 7.2 SP1+ Configurable options help make your Fragments flexible, so you don't have to maintain many similar Fragments. For...
Last Modified: May 6, 2024 6:38 AM
Applying Styles to Fragments
Applying Styles to Fragments When you add a fragment to a page, you can use the sidebar menu to configure the fragment, including the Styles configuration tab. The Styles tab in the sidebar menu...
Last Modified: May 6, 2024 6:38 AM
Validating Fragment Configurations
Validating Fragment Configurations When defining fragment configuration options, you can add validation properties to text type fields that determine rules for valid entries. Determine what type...
Last Modified: May 6, 2024 6:42 AM
Best Practices for Using Fragment Configurations
Best Practices for Using Fragment Configurations When you are creating page fragments for your site with your own configurations, it's your responsibility to use them in their HTML presentation...
Last Modified: May 6, 2024 6:39 AM
Defining Fragment Drop Zones
Defining Fragment Drop Zones Drop zones are integral to building your Content Pages. With them, you can create unique page layouts and dynamic displays by defining areas within fragments where...
Last Modified: May 6, 2024 6:40 AM
Developing Fragments
Developing Fragments Page Fragments are the building blocks for Content Pages. They're made from the three components of web pages: CSS, HTML, and JavaScript. To create a page you combine multiple...
Last Modified: May 6, 2024 6:40 AM
Using the Fragments Editor
Using the Fragments Editor Liferay DXP includes a built-in editor for developing content page fragments. To access the editor, open the Site Menu ( Site Menu ) and navigate to Design → Fragments....
Last Modified: May 6, 2024 6:41 AM
Developer Reference
Developer ReferenceDeveloping Fragments Reference
Last Modified: May 6, 2024 6:42 AM
Developing Fragments Reference
Developing Fragments Reference
Last Modified: May 6, 2024 6:43 AM
Fragment Configuration Types Reference
Fragment Configuration Types Reference This reference lists the available configuration types for fragments. See Adding Configuration Options to Fragments for more information on how to make a...
Last Modified: May 6, 2024 6:43 AM
Using Custom Fields in Page Fragments
Using Custom Fields in Page Fragments If you've added custom fields to Liferay's users or pages, you can access them in fragments. To get the value of a page custom field,...
Last Modified: May 6, 2024 6:41 AM
Using the Fragments Toolkit
Using the Fragments Toolkit The Fragments Toolkit is deprecated as of Liferay 2024.Q1+/Portal 7.4 GA112+. See Alternatives for the Fragments Toolkit for more information. The Fragments Toolkit...
Last Modified: May 6, 2024 6:42 AM
Fragment Specific Tags and Attributes Reference
Fragment Specific Tags and Attributes Reference Along with standard HTML, CSS, and JavaScript, you can use Liferay-specific tags and attributes to define editable sections, embed widgets, and...
Last Modified: May 6, 2024 6:43 AM
Fragments Toolkit Command Reference
Fragments Toolkit Command Reference The Fragments Toolkit is deprecated as of Liferay 2024.Q1+/Portal 7.4 GA112+. See Alternatives for the Fragments Toolkit for more information. The Fragments...
Last Modified: May 6, 2024 6:44 AM
Page Fragment Editor Interface Reference
Page Fragment Editor Interface Reference The Page Fragment editor's interface is organized into two tabs: Code Editor Configuration The sections below cover how to use these portions of the...
Last Modified: May 6, 2024 6:44 AM
Liferay Commerce Fragments
Liferay Commerce Fragments
Last Modified: May 7, 2024 12:54 AM
Using the Account Selector Fragment
Using the Account Selector Fragment Liferay DXP 7.4 U72+/GA72+ The Account Selector fragment provides an easy way for users to switch between their accounts when browsing products and creating...
Last Modified: May 7, 2024 12:57 AM
Using the Mini Cart Fragment
Using the Mini Cart Fragment Liferay DXP 7.4 U69+/GA69+ The Mini Cart fragment provides a detailed overview of your cart. You can use it to increase or decrease product quantity, delete products,...
Last Modified: May 7, 2024 1:01 AM
Personalizing Custom Forms Using Form Fragments
Personalizing Custom Forms Using Form Fragments Form fragments auto-generate forms based on custom objects. If Liferay's out-of-the-box form fragments don't satisfy your use case, you can create...
Last Modified: May 6, 2024 6:25 AM
Using Fragments
Using Fragments Page fragments are extensible and reusable drag-and-drop elements for building content pages and their related templates (i.e., masters, pages, and display pages). They are built...
Last Modified: May 6, 2024 6:20 AM
Using Fragments to Build Forms
Using Fragments to Build Forms Liferay 7.4 2023.Q3+/GA92+ Liferay includes form fragments for building object forms in content pages. To build a form, add a form container to a content page or...
Last Modified: May 6, 2024 5:13 AM
Including Default Resources in Fragments
Including Default Resources in Fragments You can include images (e.g. .gif, .jpg, .jpeg, or .png) in your Fragment Sets for your Fragments to use. Keeping images with your Fragments, rather than...
Last Modified: May 6, 2024 6:40 AM
Setting the Order of Elements in a Fragment
Setting the Order of Elements in a Fragment Availability: Liferay 7.4+. The Slider or Tab fragments are typically used to show different areas of information. Sliders present this information in...
Last Modified: May 6, 2024 6:41 AM