techdivision / pagedesigner-content-provisioning
Extends firegento/m2-content-provisioning module in order to support magenerds/pagedesigner editor.
Installs: 3 613
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 10
Forks: 2
Open Issues: 0
Requires
- php: ~7.1.3||~7.2.0||~7.3.0||~7.4.0
- firegento/magento2-content-provisioning: ^1.2.1|^1.3.0
- magenerds/pagedesigner: ^3.0 | ^4.0
- magento/framework: 101.0.*|102.0.*|103.0.*
This package is auto-updated.
Last update: 2024-10-29 00:26:50 UTC
README
This module extends functionality for module firegento/magento2-content-provisioning
in order
provide content for magenerds/pagedesigner
.
See also following repositories:
- https://github.com/Magenerds/PageDesigner
- https://github.com/magento-hackathon/m2-content-provisioning
Supported versions matrix
"master" branch
Documentation
After installing this module you can provide an additional XML node (page_designer_json
) for page and block
entry configurations.
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Firegento/ContentProvisioning/etc/content_provisioning.xsd"> <page key="example.test.1" identifier="example-1" maintained="true" active="true"> <title>Example Page foo</title> <content heading="Example Page test" type="file">TechDivision_ContentProvisioningExamples::Content/example-1.html</content> ... <page_designer_json type="file">TechDivision_ContentProvisioningExamples::Content/example-1.json</page_designer_json> </page> <block key="example.test.2" identifier="example-2" maintained="true" active="true"> <title>Test 1</title> <content type="file">TechDivision_ContentProvisioningExamples::Content/example-1.html</content> <page_designer_json><![CDATA[{ "version": "1.0.0", "rows": [ { "columns": [ { "gridSize": { "md": 12 }, "content": "{{widget type=\"Magento\\Catalog\\Block\\Widget\\RecentlyCompared\" uiComponent=\"widget_recently_compared\" page_size=\"5\" show_attributes=\"name,image,price\" show_buttons=\"add_to_cart\" template=\"product/widget/compared/grid.phtml\" type_name=\"Recently Compared Products\"}}", "settings": {} } ], "settings": {} }, { "columns": [ { "gridSize": { "md": 12 }, "content": "{{widget type=\"Magento\\Sales\\Block\\Widget\\Guest\\Form\" template=\"widget/guest/form.phtml\" type_name=\"Orders and Returns\"}}", "settings": {} } ], "settings": {} } ] }]]></page_designer_json> </block> </config>