How to create menu section title in adminhtml?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
3
down vote
favorite
I want to add section (menu items group) into adminhtml menu in Magento 2. Something like this:
I've added file ./etc/adminhtml/menu.xml
with:
<?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="Vendor_Module::section"
title="Section"
translate="title"
module="Vendor_Module"
sortOrder="50"
resource="Vendor_Module::section"/>
</menu>
</config>
but I cannot see new section in the adminhtml menu.
magento2 adminhtml menu ui
add a comment |Â
up vote
3
down vote
favorite
I want to add section (menu items group) into adminhtml menu in Magento 2. Something like this:
I've added file ./etc/adminhtml/menu.xml
with:
<?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="Vendor_Module::section"
title="Section"
translate="title"
module="Vendor_Module"
sortOrder="50"
resource="Vendor_Module::section"/>
</menu>
</config>
but I cannot see new section in the adminhtml menu.
magento2 adminhtml menu ui
Can you please update your whole menu.xml code?
â Rutvee Sojitra
Aug 22 at 12:31
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I want to add section (menu items group) into adminhtml menu in Magento 2. Something like this:
I've added file ./etc/adminhtml/menu.xml
with:
<?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="Vendor_Module::section"
title="Section"
translate="title"
module="Vendor_Module"
sortOrder="50"
resource="Vendor_Module::section"/>
</menu>
</config>
but I cannot see new section in the adminhtml menu.
magento2 adminhtml menu ui
I want to add section (menu items group) into adminhtml menu in Magento 2. Something like this:
I've added file ./etc/adminhtml/menu.xml
with:
<?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="Vendor_Module::section"
title="Section"
translate="title"
module="Vendor_Module"
sortOrder="50"
resource="Vendor_Module::section"/>
</menu>
</config>
but I cannot see new section in the adminhtml menu.
magento2 adminhtml menu ui
edited Aug 22 at 12:33
asked Aug 22 at 12:30
Alex Gusev
841827
841827
Can you please update your whole menu.xml code?
â Rutvee Sojitra
Aug 22 at 12:31
add a comment |Â
Can you please update your whole menu.xml code?
â Rutvee Sojitra
Aug 22 at 12:31
Can you please update your whole menu.xml code?
â Rutvee Sojitra
Aug 22 at 12:31
Can you please update your whole menu.xml code?
â Rutvee Sojitra
Aug 22 at 12:31
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
4
down vote
accepted
please update your menu.xml like below:
<?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="Vendor_Module::section" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section"/>
<add id="Vendor_Module::section-subsection" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section" action="section/index/index" parent="Vendor_Module::section"/>
</menu>
</config>
If is still not display please confirm that your module is enable
add a comment |Â
up vote
2
down vote
Please add like this in menu.xml
<menu>
<add id="Test_Menu::parent" title="Menu" module="Test_Menu" sortOrder="100" resource="Test_Menu::parent"/>
<add id="Test_Menu::test" title="First Menu" module="Test_Menu" sortOrder="11" action="router/controller/action" resource="Test_Menu::test" parent="Test_Menu::parent"/>
add a comment |Â
up vote
2
down vote
Add this below the <add>
tag
<add id="Vendor_Module::section2"
title="Section2"
translate="title2"
module="Vendor_Module"
sortOrder="55"
parent="Vendor_Module::section" action="vendor/module"
resource="Vendor_Module::section"/>
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
please update your menu.xml like below:
<?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="Vendor_Module::section" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section"/>
<add id="Vendor_Module::section-subsection" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section" action="section/index/index" parent="Vendor_Module::section"/>
</menu>
</config>
If is still not display please confirm that your module is enable
add a comment |Â
up vote
4
down vote
accepted
please update your menu.xml like below:
<?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="Vendor_Module::section" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section"/>
<add id="Vendor_Module::section-subsection" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section" action="section/index/index" parent="Vendor_Module::section"/>
</menu>
</config>
If is still not display please confirm that your module is enable
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
please update your menu.xml like below:
<?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="Vendor_Module::section" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section"/>
<add id="Vendor_Module::section-subsection" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section" action="section/index/index" parent="Vendor_Module::section"/>
</menu>
</config>
If is still not display please confirm that your module is enable
please update your menu.xml like below:
<?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="Vendor_Module::section" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section"/>
<add id="Vendor_Module::section-subsection" title="Section" module="Vendor_Module" sortOrder="50" resource="Vendor_Module::section" action="section/index/index" parent="Vendor_Module::section"/>
</menu>
</config>
If is still not display please confirm that your module is enable
answered Aug 22 at 12:36
Rutvee Sojitra
742116
742116
add a comment |Â
add a comment |Â
up vote
2
down vote
Please add like this in menu.xml
<menu>
<add id="Test_Menu::parent" title="Menu" module="Test_Menu" sortOrder="100" resource="Test_Menu::parent"/>
<add id="Test_Menu::test" title="First Menu" module="Test_Menu" sortOrder="11" action="router/controller/action" resource="Test_Menu::test" parent="Test_Menu::parent"/>
add a comment |Â
up vote
2
down vote
Please add like this in menu.xml
<menu>
<add id="Test_Menu::parent" title="Menu" module="Test_Menu" sortOrder="100" resource="Test_Menu::parent"/>
<add id="Test_Menu::test" title="First Menu" module="Test_Menu" sortOrder="11" action="router/controller/action" resource="Test_Menu::test" parent="Test_Menu::parent"/>
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Please add like this in menu.xml
<menu>
<add id="Test_Menu::parent" title="Menu" module="Test_Menu" sortOrder="100" resource="Test_Menu::parent"/>
<add id="Test_Menu::test" title="First Menu" module="Test_Menu" sortOrder="11" action="router/controller/action" resource="Test_Menu::test" parent="Test_Menu::parent"/>
Please add like this in menu.xml
<menu>
<add id="Test_Menu::parent" title="Menu" module="Test_Menu" sortOrder="100" resource="Test_Menu::parent"/>
<add id="Test_Menu::test" title="First Menu" module="Test_Menu" sortOrder="11" action="router/controller/action" resource="Test_Menu::test" parent="Test_Menu::parent"/>
answered Aug 22 at 12:35
Ramki
21115
21115
add a comment |Â
add a comment |Â
up vote
2
down vote
Add this below the <add>
tag
<add id="Vendor_Module::section2"
title="Section2"
translate="title2"
module="Vendor_Module"
sortOrder="55"
parent="Vendor_Module::section" action="vendor/module"
resource="Vendor_Module::section"/>
add a comment |Â
up vote
2
down vote
Add this below the <add>
tag
<add id="Vendor_Module::section2"
title="Section2"
translate="title2"
module="Vendor_Module"
sortOrder="55"
parent="Vendor_Module::section" action="vendor/module"
resource="Vendor_Module::section"/>
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Add this below the <add>
tag
<add id="Vendor_Module::section2"
title="Section2"
translate="title2"
module="Vendor_Module"
sortOrder="55"
parent="Vendor_Module::section" action="vendor/module"
resource="Vendor_Module::section"/>
Add this below the <add>
tag
<add id="Vendor_Module::section2"
title="Section2"
translate="title2"
module="Vendor_Module"
sortOrder="55"
parent="Vendor_Module::section" action="vendor/module"
resource="Vendor_Module::section"/>
answered Aug 22 at 12:37
LAW
803516
803516
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f239223%2fhow-to-create-menu-section-title-in-adminhtml%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you please update your whole menu.xml code?
â Rutvee Sojitra
Aug 22 at 12:31