init
This commit is contained in:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
|
||||
<acl>
|
||||
<resources>
|
||||
<resource id="Magento_Backend::admin">
|
||||
<resource id="Magezon_Core::extensions" title="Magezon"/>
|
||||
</resource>
|
||||
</resources>
|
||||
</acl>
|
||||
</config>
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
<type name="Magento\Backend\Block\Menu">
|
||||
<plugin name="remove_empty_item" type="Magezon\Core\Plugin\Block\Menu" />
|
||||
</type>
|
||||
</config>
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
|
||||
<menu>
|
||||
<add id="Magezon_Core::extensions" title="Magezon" translate="title" module="Magezon_Core" sortOrder="20" resource="Magezon_Core::extensions"/>
|
||||
</menu>
|
||||
</config>
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
|
||||
<router id="admin">
|
||||
<route id="mgzcore" frontName="mgzcore">
|
||||
<module name="Magezon_Core" before="Magezon_Core" />
|
||||
</route>
|
||||
</router>
|
||||
</config>
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
|
||||
<system>
|
||||
<tab id="magezon" translate="label" sortOrder="200" class="magezon-extensions">
|
||||
<label><![CDATA[Magezon Extensions]]></label>
|
||||
</tab>
|
||||
</system>
|
||||
</config>
|
||||
Executable
+43
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
|
||||
<default>
|
||||
<mgz_chooser_widget>
|
||||
<chooser_defaults>
|
||||
<catalog_product_widget_chooser>
|
||||
<input_label>Product</input_label>
|
||||
<button_text>Select Product...</button_text>
|
||||
</catalog_product_widget_chooser>
|
||||
<catalog_category_widget_chooser>
|
||||
<input_label>Category</input_label>
|
||||
<button_text>Select Category...</button_text>
|
||||
</catalog_category_widget_chooser>
|
||||
<cms_block_widget_chooser>
|
||||
<input_label>Block</input_label>
|
||||
<button_text>Select Block...</button_text>
|
||||
</cms_block_widget_chooser>
|
||||
<cms_page_widget_chooser>
|
||||
<input_label>CMS Page</input_label>
|
||||
<button_text>Select CMS Page...</button_text>
|
||||
</cms_page_widget_chooser>
|
||||
<default>
|
||||
<input_label>Element</input_label>
|
||||
<button_text>Select...</button_text>
|
||||
</default>
|
||||
</chooser_defaults>
|
||||
</mgz_chooser_widget>
|
||||
</default>
|
||||
</config>
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
|
||||
<policies>
|
||||
<policy id="img-src">
|
||||
<values>
|
||||
<value id="magezon" type="host">https://www.magezon.com</value>
|
||||
</values>
|
||||
</policy>
|
||||
</policies>
|
||||
</csp_whitelist>
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
<preference for="Magezon\Core\framework\SearchCriteria\CollectionProcessorInterface" type="Magezon\Core\framework\SearchCriteria\CollectionProcessor" />
|
||||
<type name="Magento\Framework\Filter\DirectiveProcessor\IfDirective">
|
||||
<plugin name="addIfStatement" type="\Magezon\Core\Plugin\Filter\DirectiveProcessor\IfDirective" />
|
||||
</type>
|
||||
</config>
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
<type name="Magento\Framework\View\Result\Layout">
|
||||
<plugin name="magezon_head_styles" type="Magezon\Core\Plugin\View\Result\Layout" />
|
||||
</type>
|
||||
</config>
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Magezon
|
||||
*
|
||||
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
|
||||
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
|
||||
* If you wish to customize this module for your needs.
|
||||
* Please refer to https://www.magezon.com for more information.
|
||||
*
|
||||
* @category Magezon
|
||||
* @package Magezon_Core
|
||||
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
|
||||
<module name="Magezon_Core" setup_version="1.0.1">
|
||||
</module>
|
||||
</config>
|
||||
Reference in New Issue
Block a user