No products in the cart.

#2 PBM: Page builder Magento 2 – Workspace

When Page Builder is enabled, the Content section and content creation process are modified to take advantage of the advanced Page Builder tools for CMS pages, product and category pages, blocks, and dynamic blocks. This section includes a Content Heading field, a preview of the content, and easy access to the full-screen Page Builder workspace.

Content section with Page Builder preview

Content Heading

Because search engines look for level one (H1) headings, adding a level one heading is an easy way to ensure that the page is indexed correctly.

The Content Heading field that appears at the top of the page is a legacy field that supports content that was created with earlier Commerce releases. It is not, however, part of Page Builder. The Content Heading is formatted as an H1 heading according to the style sheet that is associated with the current theme, and positioned just above the active content area that is defined by the Page Builder stage.

For the best control over the positioning and format of headings of all levels, we recommend that you leave the Content Heading field empty, and use the Page Builder Heading content type.

Content Heading and other headings

Preview

When you expand the Content section and there is existing content created with Page Builder, it displays a preview of the content as it would appear in a page. Click Edit with Page Builder or inside the content preview area to open the Page Builder workspace, where you can make any needed updates.

Product description preview

For the product and category forms, this content preview is enabled by default, but can be disabled. If performance suffers due to loading the preview, you can disable the preview in the Content Management configuration settings.

Stage

When you open the Page Builder workspace from the preview, the stage is the primary work area where you can create and format content, and even make quick edits to live content. The stage is initially empty, providing the design surface where you can drag rows, columns, and tabs from the left panel.

Starting with the 2.4.1 release, content editing is now full-screen only for all areas controlled by Page Builder. This includes CMS pages, product and category pages, blocks, and dynamic blocks. Full-screen editing puts the focus on your content and provides a view that better matches the user experience on the storefront.

Stage with page content

When you are working in the Page Builder workspace, your content changes are not fully saved until you click the Close Full Screen () icon in the upper-right corner of the workspace, and then click Save in the upper-right corner for the CMS page, product page, category page, block, or dynamic block.

If you are making significant changes to Page Builder content, we recommend that you increase the Admin Session Lifetime to prevent the session from timing out while you work.

Viewports

viewport is the visible area of a web page that a user sees. In full-screen design mode, the viewport buttons are displayed above the Page Builder stage to show you the content as the site user will see it on the storefront.

Viewport buttons

Viewport buttons

Page Builder also defines breakpoints for viewports. Breakpoints define minimum and maximum widths within which certain styles are applied. The Page Builder viewports provide the following content breakpoints:

  • Desktop breakpointmin-width: 1024px. This breakpoint applies styles defined for viewport widths that measure 1024px and wider.
  • Mobile breakpointsmax-width: 768px, min-width: 640px. These breakpoints apply styles defined for viewport widths between 768px and 640px.

Page Builder viewports provide two features: content previews and breakpoint settings.

Content previews

By default, Page Builder provides two viewport previews:

  • Desktop — Displays the content preview without a predefined width. Desktop-defined styles (using breakpoint minimum width of 1024px) are still applied to the page. But the Desktop viewport width is defined by settings for container content types, like Rows. Selecting the Desktop viewport shows how your content will be styled on the storefront when the browser page width is 1024px and wider.
  • Mobile — Displays the content preview at a predefined width of 768px. Unlike the Desktop viewport, the Mobile viewport does show your page content at a width of 768px, along with the styles defined for the breakpoint widths of 768px (max) and 640px (min).

The following examples show the Page Builder default responsive settings for product carousels displayed for these viewports:

Desktop viewport preview

Desktop viewport preview, minimum width: 1024px

Mobile viewport preview

Mobile viewport preview, width: 768px

Breakpoint settings

The viewport buttons also provide the option to apply different breakpoint styles to content types based on the selected viewport. By default, Page Builder provides breakpoint settings for the Minimum Height fields of Rows, Columns, Tabs, Tab Items, Banners, Sliders, and Slides. When you select the Mobile viewport, then open the editor for one of those content types, you can enter field values specific to the Mobile viewport breakpoints. Content type fields that allow specific breakpoint settings display an icon to the right of the field, similar to the following example for a Row:

Icon indicator for breakpoint setting

Icon indicator for breakpoint setting, width: 768px

Panel

The Page Builder panel is located to the left of the stage, and contains content types that can be dragged to the stage. A container that is specific to the content type then appears with a toolbox of options. Content types are organized in the panel as follows:

LayoutIncludes rows, columns, and tabs that can be used as containers for other content types.
ElementsIncludes text, headings, buttons, dividers, and snippets of HTML code that can be dragged to the stage.
MediaIncludes images, video, banners, sliders, and Google Maps that can be dragged to the stage.
Add ContentAdds existing blocks of static or dynamic content, and products from your catalog.

Toolbox

Each content container on the stage has a toolbox of options. The options vary by content type, but typically include Move, Settings, Hide/Show, Duplicate, and Remove.

Show the toolbox

Hover over the container to display the toolbox and choose an option.

Row toolbox options

Toolbox options

OPTIONICONDESCRIPTION
MoveMoves the current content container to another position on the stage.
AddAdds children elements such as a button, slide, or tab.
(label) Identifies the container content type.
SettingsOpens the content container properties in edit mode.
HideHides the current content container.
ShowShows the current content container.
DuplicateMakes a copy of the current content container.
RemoveDeletes the current content container from the stage.

Read More
admingenz September 19, 2021 0 Comments

#1 PBM: Page builder Magento 2 – Setup

Starting with the 2.4.3 release, Page Builder provides a unified native CMS tool across Adobe Commerce and Magento Open Source. However, Page Builder in Adobe Commerce adds in the ability to leverage the rest of the Experience Management tools to enable merchants to deliver engaging, personalized experiences and campaigns: Staging and preview, Personalized content, Product Recommendations, with additional capabilities to come.

When enabled in the configuration, Page Builder is the default content creation tool for CMS Pages, Blocks, and Dynamic Blocks. In addition, the Enable Advanced CMS button offers Page Builder as an option for Categories and Products. You can also choose the default page layout that you want to use for products, categories, and CMS pages. Page Builder is not available for newsletter content, which uses the WYSIWYG editor.

Advanced Content Tools

Configure Page Builder

  1. On the Admin sidebar, go to Stores > Settings > Configuration.
  2. In the left panel under General, choose Content Management.
  3. Expand  Advanced Content Tools and verify that Enable Page Builder is set to Yes.
  4. If you are ready to set up Google Maps, do the following:
    • If necessary, follow the Get API Key instructions, and then copy and paste your Google Maps API Key.
    • To change the Google Maps Style, paste the JSON code that is generated by the Google Maps APIs Styling Wizard.See Media – Map for more information about using Google Maps in your Page Builder content.
  5. To configure the number of guidelines in the Page Builder column grid, do the following:
    • For Default Column Grid Size, enter the default number of columns that you want to appear in the grid.
    • For Maximum Column Grid Size, enter the largest number of columns that you want to be available in the grid.Column grid size See Layout – Column for more information about using the column grid when working with your Page Builder content.
  6. When complete, click Save Config.

Configure default layouts

  1. On the Admin sidebar, go to Stores > Settings > Configuration.
  2. In the left panel under General, choose Web.
  3. Expand  Default Layouts and and do the following:Default Layouts
    • Choose the Default Product Layout that you want to use for product pages.
    • Choose the Default Category Layout that you want to use for category pages.
    • Choose the Default Page Layout that you want to use for CMS pages.
  4. When complete, click Save Config.

Disable Page Builder

Disabling Page Builder replaces the Advanced Content Tools with the WYSIWYG editor, and might cause display errors in the storefront. Content that you previously created with Page Builder might not be editable from the Admin.

  1. On the Admin sidebar, go to Stores > Settings > Configuration.
  2. In the left panel under General, choose Content Management.
  3. Expand  Advanced Content Tools and set Enable Page Builder to No.
  4. When prompted to confirm, click Turn Off.Confirmation dialog – turn off Page Builder
  5. When complete, click Save Config.
  6. When prompted, refresh any invalid cache.

Read More
admingenz September 19, 2021 0 Comments