PHPackages                             mage-os/module-page-builder-template-import-export - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mage-os/module-page-builder-template-import-export

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

mage-os/module-page-builder-template-import-export
==================================================

PageBuilder template import/export module

1.6.3(2mo ago)185.5k↓24.1%2[3 issues](https://github.com/mage-os/module-pagebuilder-template-import-export/issues)[1 PRs](https://github.com/mage-os/module-pagebuilder-template-import-export/pulls)MITPHPPHP ^8.1CI passing

Since Nov 18Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/mage-os/module-pagebuilder-template-import-export)[ Packagist](https://packagist.org/packages/mage-os/module-page-builder-template-import-export)[ RSS](/packages/mage-os-module-page-builder-template-import-export/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (21)Used By (0)

MageOS PageBuilder Templates Import/Export Module for Magento
=============================================================

[](#mageos-pagebuilder-templates-importexport-module-for-magento)

Enrich PageBuilder adding templates import/export management.

---

Overview
--------

[](#overview)

The **PageBuilder Templates Import/Export** module allows you to import and export pagebuilder templates through different magento instances. You can use it exporting zip templates file locally and move to remote instances or pulling directly from a configured dropbox storage.

[![remote_template_import](./doc/importremotetemplate_screenshot.png)](./doc/importremotetemplate_screenshot.png)[![remote_template_import_confirmation](./doc/importremotetemplate2_screenshot.png)](./doc/importremotetemplate2_screenshot.png)[![remote_template_imported](./doc/importremotetemplate3_screenshot.png)](./doc/importremotetemplate3_screenshot.png)[![apply_template](./doc/applytemplate_screenshot.png)](./doc/applytemplate_screenshot.png)[![template_applied](./doc/applytemplate2_screenshot.png)](./doc/applytemplate2_screenshot.png)

🚀 Features
----------

[](#-features)

### Export Template

[](#export-template)

Once the module is enabled you can export templates through adminhtml ui going to "Content &gt; Elements &gt; Templates" section clicking on the "Actions" column or through cli. For cli export execute the following command:

```
php bin/magento mage-os:pagebuilder_template:export

```

As result of export you will obtain a .zip file containing the template.

### Import Template

[](#import-template)

You can import templates from adminhtml ui always from the "Content &gt; Elements &gt; Templates" section. At the top of the page you'll se a CTA "Import Template", clicking on it a modal opens with an "Upload button" find the zip file from the search window and select it. Cli command is also supported for import:

```
php bin/magento mage-os:pagebuilder_template:import

```

### Remote Template Import

[](#remote-template-import)

Once you've configured one or more dropbox apps with success you'll be able to see the remote templates stored there inside the "Import Template" modal. You will be able to filter them and import on you Magento instance clicking on "Import" link on "Action" column. Remote dropbox repositories are synced with configured in every dropbox app webhooks. An alignment is done once per day at 0:00 but you can also make a full alignment executing the following cli command:

```
php bin/magento mage-os:pagebuilder_template:update-remote-list

```

🔧 Installation
--------------

[](#-installation)

1. Install it into your Mage-OS/Magento 2 project with composer:

    ```
    composer require mage-os/module-page-builder-template-import-export

    ```
2. Enable module

    ```
    bin/magento setup:upgrade

    ```
3. Add consumer to queue consumer list (suggested)

    Update your env.php file adding "pbTemplateImport" to consumers.

    ```
