ltsecurityinc安防产品在线商城代码
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
|
||||
<menu>
|
||||
<add id="Olegnax_MegaMenu::Olegnax_MegaMenu" title="Mega Menu" module="Olegnax_MegaMenu" sortOrder="10"
|
||||
parent="Olegnax_Core::Olegnax_Core" resource="Olegnax_MegaMenu::Olegnax_MegaMenu"/>
|
||||
<add id="Olegnax_MegaMenu::settings" title="Configuration" module="Olegnax_Athlete2" sortOrder="0"
|
||||
action="adminhtml/system_config/edit/section/ox_megamenu_settings"
|
||||
parent="Olegnax_MegaMenu::Olegnax_MegaMenu" resource="Olegnax_MegaMenu::Olegnax_MegaMenu"/>
|
||||
</menu>
|
||||
</config>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
|
||||
<router id="admin">
|
||||
<route id="megamenu" frontName="megamenu">
|
||||
<module name="Olegnax_MegaMenu" before="Magento_Backend"/>
|
||||
</route>
|
||||
</router>
|
||||
</config>
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright © 2016 Magento. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
|
||||
<system>
|
||||
<tab id="olegnax" translate="label" sortOrder="15">
|
||||
<label>Olegnax</label>
|
||||
</tab>
|
||||
<section id="ox_megamenu_settings" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1"
|
||||
showInStore="1">
|
||||
<label>Mega Menu</label>
|
||||
<tab>olegnax</tab>
|
||||
<resource>Olegnax_MegaMenu::Olegnax_MegaMenu</resource>
|
||||
<group id="info" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
|
||||
<frontend_model>Olegnax\MegaMenu\Block\Adminhtml\System\Config\Form\Info</frontend_model>
|
||||
</group>
|
||||
<group id="general" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||
<label>General</label>
|
||||
<field id="enable_megamenu" translate="label" type="select" sortOrder="0" showInDefault="1"
|
||||
showInWebsite="1" showInStore="1">
|
||||
<label>Enable Mega Menu</label>
|
||||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
|
||||
<frontend_class>on-off-trigger</frontend_class>
|
||||
</field>
|
||||
<field id="spacer" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||
<frontend_model>Olegnax\MegaMenu\Block\System\Config\Form\Field\Spacer</frontend_model>
|
||||
</field>
|
||||
<field id="header_container" translate="label comment" type="text" sortOrder="10" showInDefault="1"
|
||||
showInWebsite="1" showInStore="1">
|
||||
<label>Header Container</label>
|
||||
<comment>Set custom css selector (which is used as wrapper for your menu) to make drop down
|
||||
container align options work. Include dots i.e.: ".page-header > .container"
|
||||
</comment>
|
||||
</field>
|
||||
<field id="show_menu_parent_arrow" translate="label" type="select" sortOrder="20" showInDefault="1"
|
||||
showInWebsite="1" showInStore="1">
|
||||
<label>Show Arrows for Parent menu item</label>
|
||||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
|
||||
<frontend_class>on-off-trigger</frontend_class>
|
||||
</field>
|
||||
<field id="show_sub_parent_arrow" translate="label" type="select" sortOrder="22" showInDefault="1"
|
||||
showInWebsite="1" showInStore="1">
|
||||
<label>Show Arrows for Subcategories parent items</label>
|
||||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
|
||||
<frontend_class>on-off-trigger</frontend_class>
|
||||
</field>
|
||||
<field id="perfect_scrollbar" translate="label" type="select" sortOrder="24" showInDefault="1"
|
||||
showInWebsite="1" showInStore="1">
|
||||
<label>Enable Perfect ScrollBar</label>
|
||||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
|
||||
<frontend_class>on-off-trigger</frontend_class>
|
||||
</field>
|
||||
</group>
|
||||
</section>
|
||||
</system>
|
||||
</config>
|
||||
Reference in New Issue
Block a user