Magento 2: Admin panel 3 level menu structure not workingRemove top drop menu extension items from admin...

"You are your self first supporter", a more proper way to say it

Is there a minimum number of transactions in a block?

Infinite past with a beginning?

Pronouncing Dictionary.com's W.O.D "vade mecum" in English

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

How can bays and straits be determined in a procedurally generated map?

How to add power-LED to my small amplifier?

Are tax years 2016 & 2017 back taxes deductible for tax year 2018?

Draw simple lines in Inkscape

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

Copycat chess is back

What do you call a Matrix-like slowdown and camera movement effect?

Japan - Plan around max visa duration

What is the offset in a seaplane's hull?

Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).

Email Account under attack (really) - anything I can do?

Why is the design of haulage companies so “special”?

Do airline pilots ever risk not hearing communication directed to them specifically, from traffic controllers?

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

How does one intimidate enemies without having the capacity for violence?

What defenses are there against being summoned by the Gate spell?

What would the Romans have called "sorcery"?

Set-theoretical foundations of Mathematics with only bounded quantifiers

What are these boxed doors outside store fronts in New York?



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;
}







2















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.
enter image description here










share|improve this question





























    2















    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.
    enter image description here










    share|improve this question

























      2












      2








      2








      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.
      enter image description here










      share|improve this question














      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.
      enter image description here







      magento2.3.0 adminmenu






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 17 hours ago









      Jaimin SutariyaJaimin Sutariya

      9,40522055




      9,40522055






















          2 Answers
          2






          active

          oldest

          votes


















          1














          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;
          }





          share|improve this answer
























          • 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
            13 hours ago



















          0














          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






          share|improve this answer
























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            1














            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;
            }





            share|improve this answer
























            • 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
              13 hours ago
















            1














            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;
            }





            share|improve this answer
























            • 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
              13 hours ago














            1












            1








            1







            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;
            }





            share|improve this answer













            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;
            }






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 13 hours ago









            ShankarShankar

            10226




            10226













            • 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
              13 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
              13 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
            13 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
            13 hours ago













            0














            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






            share|improve this answer




























              0














              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






              share|improve this answer


























                0












                0








                0







                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






                share|improve this answer













                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







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 12 hours ago









                Kirti NariyaKirti Nariya

                1,087415




                1,087415






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

                    How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

                    Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...