Skip to content

Show Page Builder Content

Hai Huynh edited this page Jun 23, 2023 · 2 revisions

1. At CMS Page/Block, Product, Category

Go to specific Magento entity (CMS page/blocks or product ...) management page

Use the Goomento Builder Assistant

You might see these buttons

  • Migrate Now Migrate the old content - which is not compatible with Page Builder.
  • Create New Create new Page Builder entity then attach it into content.
  • Open Editor Open Page Builder Editor for editing

You can deactivate the Page Builder Assistance, then back to use WYSIWYG Editor

Deactivate the Page Builder Assistance

For permanent deactivating Builder Assistance, you have set the config here to No at

Stores > Settings > Configuration > Goomento > Page Builder > Builder Assistance > Active

Permanent deactivating Builder Assistance

2. Use WYSIWYG widget in any text editor

Open text editor, then select the widget chosen WYSIWYG Widget Choose your page Choose widget

3. Use content widget code

Add this snippet

{{widget type="PageBuilderRenderer" identifier="page-builder-identifier"}}

Like this Text editor

4. Use this snippet in the layout .xml file

<block class="PageBuilderRenderer" name="unique-block-name">
    <arguments>
        <argument name="identifier" xsi:type="string">page-builder-identifier</argument>
    </arguments>
</block>

5. Use this snippet in the template .phtml file

<?= $block->getLayout()
    ->getBlock('PageBuilderRenderer')
    ->setIdentifier('page-builder-identifier')
    ->toHtml(); ?>

Note:

  • Replace page-builder-identifier alias with your actual page builder identifier
  • Replace unique-block-name alias with your actual unique block name