This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_Blog
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Framework\App\RouterList">
<arguments>
<argument name="routerList" xsi:type="array">
<item name="mpblog" xsi:type="array">
<item name="class" xsi:type="string">Mageplaza\Blog\Controller\Router</item>
<item name="disable" xsi:type="boolean">false</item>
<item name="sortOrder" xsi:type="string">60</item>
</item>
</argument>
</arguments>
</type>
<!--Plugin List-->
<type name="Magento\Theme\Block\Html\Topmenu">
<plugin name="blog-topmenu" type="Mageplaza\Blog\Plugin\Topmenu"/>
</type>
<type name="Smartwave\Megamenu\Block\Topmenu">
<plugin name="blog-porto-theme-topmenu" type="Mageplaza\Blog\Plugin\PortoTopmenu"/>
</type>
<type name="Infortis\UltraMegamenu\Block\Navigation">
<plugin name="blog-topmenu-infortis" type="Mageplaza\Blog\Plugin\InfortisTopmenu"/>
</type>
<type name="Magento\Framework\View\Element\Html\Links">
<plugin name="blog-customer-nav" type="Mageplaza\Blog\Plugin\Customer\LinkMenu"/>
</type>
<type name="Hyva\Theme\ViewModel\Navigation">
<plugin name="blog-customer-hyva-menu" type="Mageplaza\Blog\Plugin\HyvaMenu"/>
</type>
</config>
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_Blog
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="customer_register_success">
<observer name="mp_blog_create_author" instance="Mageplaza\Blog\Observer\CreateAuthor"/>
</event>
</config>
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_Blog
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard">
<route id="mpblog" frontName="mpblog">
<module name="Mageplaza_Blog"/>
</route>
</router>
</config>