How to create menu section title in adminhtml?

The name of the pictureThe name of the pictureThe name of the pictureClash 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:



adminhtml menu sesions



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.







share|improve this question






















  • Can you please update your whole menu.xml code?
    – Rutvee Sojitra
    Aug 22 at 12:31
















up vote
3
down vote

favorite












I want to add section (menu items group) into adminhtml menu in Magento 2. Something like this:



adminhtml menu sesions



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.







share|improve this question






















  • Can you please update your whole menu.xml code?
    – Rutvee Sojitra
    Aug 22 at 12:31












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:



adminhtml menu sesions



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.







share|improve this question














I want to add section (menu items group) into adminhtml menu in Magento 2. Something like this:



adminhtml menu sesions



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.









share|improve this question













share|improve this question




share|improve this question








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
















  • 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










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






share|improve this answer



























    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"/>







    share|improve this answer



























      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"/>





      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',
        convertImagesToLinks: false,
        noModals: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        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%2f239223%2fhow-to-create-menu-section-title-in-adminhtml%23new-answer', 'question_page');

        );

        Post as a guest






























        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






        share|improve this answer
























          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






          share|improve this answer






















            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






            share|improve this answer












            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







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 22 at 12:36









            Rutvee Sojitra

            742116




            742116






















                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"/>







                share|improve this answer
























                  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"/>







                  share|improve this answer






















                    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"/>







                    share|improve this answer












                    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"/>








                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 22 at 12:35









                    Ramki

                    21115




                    21115




















                        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"/>





                        share|improve this answer
























                          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"/>





                          share|improve this answer






















                            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"/>





                            share|improve this answer












                            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"/>






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Aug 22 at 12:37









                            LAW

                            803516




                            803516



























                                 

                                draft saved


                                draft discarded















































                                 


                                draft saved


                                draft discarded














                                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













































































                                Comments

                                Popular posts from this blog

                                What does second last employer means? [closed]

                                Installing NextGIS Connect into QGIS 3?

                                One-line joke