Magento 2: Admin panel 3 level menu structure not workingRemove top drop menu extension items from admin panelMagento Admin Menu doesn't workCustom admin menu item not displayingMagento2: Sub-menu is not appearing in adminUnable to create menu in magento admin panelmagento 1.9 Admin menus are not workingMagento 2: MegaMenu extension's menu is not displaying in admin backendMagento 2 admin menu not working XamppSubsection in admin menuMagento 2.3.0 admin panel issue
Why is "Reports" in sentence down without "The"
Motorized valve interfering with button?
"which" command doesn't work / path of Safari?
declaring a variable twice in IIFE
Are tax years 2016 & 2017 back taxes deductible for tax year 2018?
Can a German sentence have two subjects?
What are these boxed doors outside store fronts in New York?
How to make payment on the internet without leaving a money trail?
If Manufacturer spice model and Datasheet give different values which should I use?
How to add power-LED to my small amplifier?
How is it possible to have an ability score that is less than 3?
Why linear maps act like matrix multiplication?
Copenhagen passport control - US citizen
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
The use of multiple foreign keys on same column in SQL Server
How is it possible for user to changed after storage was encrypted? (on OS X, Android)
I see my dog run
What is the offset in a seaplane's hull?
Why is this code 6.5x slower with optimizations enabled?
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
Why don't electron-positron collisions release infinite energy?
Set-theoretical foundations of Mathematics with only bounded quantifiers
How to type dʒ symbol (IPA) on Mac?
What is the command to reset a PC without deleting any files
Magento 2: Admin panel 3 level menu structure not working
Remove top drop menu extension items from admin panelMagento Admin Menu doesn't workCustom admin menu item not displayingMagento2: Sub-menu is not appearing in adminUnable to create menu in magento admin panelmagento 1.9 Admin menus are not workingMagento 2: MegaMenu extension's menu is not displaying in admin backendMagento 2 admin menu not working XamppSubsection in admin menuMagento 2.3.0 admin panel issue
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to add a menu for my module in admin panel. I want to add it like Grand Parent > Parent > Child structure.
I have used below code in my menu.xml
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
</menu>
</config>
But I can only see Grand parent and child menus. Please check below screenshot.
magento2.3.0 adminmenu
add a comment |
I am trying to add a menu for my module in admin panel. I want to add it like Grand Parent > Parent > Child structure.
I have used below code in my menu.xml
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
</menu>
</config>
But I can only see Grand parent and child menus. Please check below screenshot.
magento2.3.0 adminmenu
add a comment |
I am trying to add a menu for my module in admin panel. I want to add it like Grand Parent > Parent > Child structure.
I have used below code in my menu.xml
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
</menu>
</config>
But I can only see Grand parent and child menus. Please check below screenshot.
magento2.3.0 adminmenu
I am trying to add a menu for my module in admin panel. I want to add it like Grand Parent > Parent > Child structure.
I have used below code in my menu.xml
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
</menu>
</config>
But I can only see Grand parent and child menus. Please check below screenshot.
magento2.3.0 adminmenu
magento2.3.0 adminmenu
asked 14 hours ago
Jaimin SutariyaJaimin Sutariya
9,40522055
9,40522055
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Honestly, I didn't give the proper answer to your question. But found a way to show the parent menu. Actually, Magento is hiding First "parent" menu via CSS. So you need to add another parent menu and will display your previous parent menu.
Here is my code:
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::jsutariya_listgallery"/>
<add id="Vendor_Module::jsutariya_listgallery1" title="Another Parent" module="Vendor_Module" sortOrder="20" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
</menu>
</config>
The main culprit is the following CSS and I don't know why its added in the first place by Magento
.admin__menu .level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
Thanks Shankar. I wonder why Magento kept it hidden. Users will get confused by this because they will only seeSettingsand will wonder to which module it is related to.
– Jaimin Sutariya
11 hours ago
add a comment |
You have to need change _menu.less for fix the child menu issue actually Admin Navigation Menu labels hide in css.
You can change below _menu.less file path and comment code which is already display:none.
File path:
magento/vendor/magento/theme-adminhtml-backend/Magento_Backend/web/css/source/module/_menu.less
// This part hides Submenu Group Titles only for menus with single groups.
/*.submenu .column:only-of-type .submenu-group-title,
.level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
*/
For more Details refer below links:
https://github.com/magento/magento2/issues/13707
https://github.com/magento/magento2/commit/d91e96b529e70dcec55d3b5336b471791dc42d54
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269042%2fmagento-2-admin-panel-3-level-menu-structure-not-working%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Honestly, I didn't give the proper answer to your question. But found a way to show the parent menu. Actually, Magento is hiding First "parent" menu via CSS. So you need to add another parent menu and will display your previous parent menu.
Here is my code:
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::jsutariya_listgallery"/>
<add id="Vendor_Module::jsutariya_listgallery1" title="Another Parent" module="Vendor_Module" sortOrder="20" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
</menu>
</config>
The main culprit is the following CSS and I don't know why its added in the first place by Magento
.admin__menu .level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
Thanks Shankar. I wonder why Magento kept it hidden. Users will get confused by this because they will only seeSettingsand will wonder to which module it is related to.
– Jaimin Sutariya
11 hours ago
add a comment |
Honestly, I didn't give the proper answer to your question. But found a way to show the parent menu. Actually, Magento is hiding First "parent" menu via CSS. So you need to add another parent menu and will display your previous parent menu.
Here is my code:
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::jsutariya_listgallery"/>
<add id="Vendor_Module::jsutariya_listgallery1" title="Another Parent" module="Vendor_Module" sortOrder="20" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
</menu>
</config>
The main culprit is the following CSS and I don't know why its added in the first place by Magento
.admin__menu .level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
Thanks Shankar. I wonder why Magento kept it hidden. Users will get confused by this because they will only seeSettingsand will wonder to which module it is related to.
– Jaimin Sutariya
11 hours ago
add a comment |
Honestly, I didn't give the proper answer to your question. But found a way to show the parent menu. Actually, Magento is hiding First "parent" menu via CSS. So you need to add another parent menu and will display your previous parent menu.
Here is my code:
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::jsutariya_listgallery"/>
<add id="Vendor_Module::jsutariya_listgallery1" title="Another Parent" module="Vendor_Module" sortOrder="20" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
</menu>
</config>
The main culprit is the following CSS and I don't know why its added in the first place by Magento
.admin__menu .level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
Honestly, I didn't give the proper answer to your question. But found a way to show the parent menu. Actually, Magento is hiding First "parent" menu via CSS. So you need to add another parent menu and will display your previous parent menu.
Here is my code:
<?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::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
<add id="Vendor_Module::jsutariya_settings" title="Child" module="Vendor_Module"
sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
resource="Vendor_Module::settings" parent="Vendor_Module::jsutariya_listgallery"/>
<add id="Vendor_Module::jsutariya_listgallery1" title="Another Parent" module="Vendor_Module" sortOrder="20" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
</menu>
</config>
The main culprit is the following CSS and I don't know why its added in the first place by Magento
.admin__menu .level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
answered 11 hours ago
ShankarShankar
10226
10226
Thanks Shankar. I wonder why Magento kept it hidden. Users will get confused by this because they will only seeSettingsand will wonder to which module it is related to.
– Jaimin Sutariya
11 hours ago
add a comment |
Thanks Shankar. I wonder why Magento kept it hidden. Users will get confused by this because they will only seeSettingsand will wonder to which module it is related to.
– Jaimin Sutariya
11 hours ago
Thanks Shankar. I wonder why Magento kept it hidden. Users will get confused by this because they will only see
Settings and will wonder to which module it is related to.– Jaimin Sutariya
11 hours ago
Thanks Shankar. I wonder why Magento kept it hidden. Users will get confused by this because they will only see
Settings and will wonder to which module it is related to.– Jaimin Sutariya
11 hours ago
add a comment |
You have to need change _menu.less for fix the child menu issue actually Admin Navigation Menu labels hide in css.
You can change below _menu.less file path and comment code which is already display:none.
File path:
magento/vendor/magento/theme-adminhtml-backend/Magento_Backend/web/css/source/module/_menu.less
// This part hides Submenu Group Titles only for menus with single groups.
/*.submenu .column:only-of-type .submenu-group-title,
.level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
*/
For more Details refer below links:
https://github.com/magento/magento2/issues/13707
https://github.com/magento/magento2/commit/d91e96b529e70dcec55d3b5336b471791dc42d54
add a comment |
You have to need change _menu.less for fix the child menu issue actually Admin Navigation Menu labels hide in css.
You can change below _menu.less file path and comment code which is already display:none.
File path:
magento/vendor/magento/theme-adminhtml-backend/Magento_Backend/web/css/source/module/_menu.less
// This part hides Submenu Group Titles only for menus with single groups.
/*.submenu .column:only-of-type .submenu-group-title,
.level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
*/
For more Details refer below links:
https://github.com/magento/magento2/issues/13707
https://github.com/magento/magento2/commit/d91e96b529e70dcec55d3b5336b471791dc42d54
add a comment |
You have to need change _menu.less for fix the child menu issue actually Admin Navigation Menu labels hide in css.
You can change below _menu.less file path and comment code which is already display:none.
File path:
magento/vendor/magento/theme-adminhtml-backend/Magento_Backend/web/css/source/module/_menu.less
// This part hides Submenu Group Titles only for menus with single groups.
/*.submenu .column:only-of-type .submenu-group-title,
.level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
*/
For more Details refer below links:
https://github.com/magento/magento2/issues/13707
https://github.com/magento/magento2/commit/d91e96b529e70dcec55d3b5336b471791dc42d54
You have to need change _menu.less for fix the child menu issue actually Admin Navigation Menu labels hide in css.
You can change below _menu.less file path and comment code which is already display:none.
File path:
magento/vendor/magento/theme-adminhtml-backend/Magento_Backend/web/css/source/module/_menu.less
// This part hides Submenu Group Titles only for menus with single groups.
/*.submenu .column:only-of-type .submenu-group-title,
.level-0 > .submenu > ul > .level-1:only-of-type > .submenu-group-title
display: none;
*/
For more Details refer below links:
https://github.com/magento/magento2/issues/13707
https://github.com/magento/magento2/commit/d91e96b529e70dcec55d3b5336b471791dc42d54
answered 10 hours ago
Kirti NariyaKirti Nariya
1,087415
1,087415
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269042%2fmagento-2-admin-panel-3-level-menu-structure-not-working%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown