How can I add a menu in my magento backend?How to add menu to magento backend?Admin personal module routes failedHow can i give module name?How can I overwrite Mage_Adminhtml_Block_Cache?Add a link to Magento Admin for the Media LibraryMagento Admin Menu action not working gives 404 error Magento 1.9.2.4Simple Observer not firing on eventHow to change Shipping Method title in magento checkout pageAdminhtml - white grid - Magento 1.9Adminhtml - NULL in saveAction() formHow to add menu to magento backend?

What does it actually mean to have two time dimensions?

Will this tire fail its MOT?

How could an animal "smell" carbon monoxide?

Does the Intel 8085 CPU use real memory addresses?

What is the difference between a Hosaka, Ono-Sendai, and a "deck"?

Generating a PIN from cryptographic bytes

Intel 8080-based home computers

Create Array from list of indices/values

Wordplay subtraction paradox

Is there a typesafe way to get a Database.QueryLocator?

Why is Katakana not pronounced Katagana?

What were the problems on the Apollo 11 lunar module?

What is the meaning of [[:space:]] in bash?

Is this Android phone Android 9.0 or Android 6.0?

Why does FFmpeg choose 10+20+20 ms instead of an even 16 ms for 60 fps GIF images?

How can electric field be defined as force per charge, if the charge makes its own, singular electric field?

Interviewing with an unmentioned 9 months of sick leave taken during a job

Operation Unz̖̬̜̺̬a͇͖̯͔͉l̟̭g͕̝̼͇͓̪͍o̬̝͍̹̻

How to color a tag in a math equation?

Using SPID in DB Tables (instead of Table Variable)

Did Voldemort kill his father before finding out about Horcruxes?

Why is the total probability theorem expressed in this way?

How can the electric potential be zero at a point where the electric field isn't, if that field can give a test charge kinetic energy?

Does inertia keep a rotating object rotating forever, or something else?



How can I add a menu in my magento backend?


How to add menu to magento backend?Admin personal module routes failedHow can i give module name?How can I overwrite Mage_Adminhtml_Block_Cache?Add a link to Magento Admin for the Media LibraryMagento Admin Menu action not working gives 404 error Magento 1.9.2.4Simple Observer not firing on eventHow to change Shipping Method title in magento checkout pageAdminhtml - white grid - Magento 1.9Adminhtml - NULL in saveAction() formHow to add menu to magento backend?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Below is my code for my menu and it does not work on my side.



config.xml



<config>
<modules>
<MasteringMagento_Example>
<version>1.0.0</version>
</MasteringMagento_Example>
</modules>
<global>
<models>
<example>
<class>MasteringMagento_Example_Model</class>
</example>
</models>
<blocks>
<example>
<class>MasteringMagento_Example_Block</class>
</example>
</blocks>
<helpers>
<example>
<class>MasteringMagento_Example_Helper</class>
</example>
</helpers>
</global>



adminhtml.xml



<config>
<menu>
<example translate="title" module="example">
<title>Example</title>
<sort_order>1000</sort_order>
<action>adminhtml/example</action>
</example>
</menu>











share|improve this question






















  • why are you creating duplicate question again? magento.stackexchange.com/questions/191638/…

    – Abhishek Panchal
    Sep 1 '17 at 17:45











  • because i don't know the answer.

    – Lester
    Sep 1 '17 at 17:50











  • will you get answer if you create duplicate question?

    – Abhishek Panchal
    Sep 1 '17 at 17:50











  • can you please add full code of both the files?

    – Abhishek Panchal
    Sep 1 '17 at 18:06

















0















Below is my code for my menu and it does not work on my side.



config.xml



<config>
<modules>
<MasteringMagento_Example>
<version>1.0.0</version>
</MasteringMagento_Example>
</modules>
<global>
<models>
<example>
<class>MasteringMagento_Example_Model</class>
</example>
</models>
<blocks>
<example>
<class>MasteringMagento_Example_Block</class>
</example>
</blocks>
<helpers>
<example>
<class>MasteringMagento_Example_Helper</class>
</example>
</helpers>
</global>



adminhtml.xml



<config>
<menu>
<example translate="title" module="example">
<title>Example</title>
<sort_order>1000</sort_order>
<action>adminhtml/example</action>
</example>
</menu>











share|improve this question






















  • why are you creating duplicate question again? magento.stackexchange.com/questions/191638/…

    – Abhishek Panchal
    Sep 1 '17 at 17:45











  • because i don't know the answer.

    – Lester
    Sep 1 '17 at 17:50











  • will you get answer if you create duplicate question?

    – Abhishek Panchal
    Sep 1 '17 at 17:50











  • can you please add full code of both the files?

    – Abhishek Panchal
    Sep 1 '17 at 18:06













0












0








0








Below is my code for my menu and it does not work on my side.



config.xml



<config>
<modules>
<MasteringMagento_Example>
<version>1.0.0</version>
</MasteringMagento_Example>
</modules>
<global>
<models>
<example>
<class>MasteringMagento_Example_Model</class>
</example>
</models>
<blocks>
<example>
<class>MasteringMagento_Example_Block</class>
</example>
</blocks>
<helpers>
<example>
<class>MasteringMagento_Example_Helper</class>
</example>
</helpers>
</global>



adminhtml.xml



<config>
<menu>
<example translate="title" module="example">
<title>Example</title>
<sort_order>1000</sort_order>
<action>adminhtml/example</action>
</example>
</menu>











share|improve this question














Below is my code for my menu and it does not work on my side.



config.xml



<config>
<modules>
<MasteringMagento_Example>
<version>1.0.0</version>
</MasteringMagento_Example>
</modules>
<global>
<models>
<example>
<class>MasteringMagento_Example_Model</class>
</example>
</models>
<blocks>
<example>
<class>MasteringMagento_Example_Block</class>
</example>
</blocks>
<helpers>
<example>
<class>MasteringMagento_Example_Helper</class>
</example>
</helpers>
</global>



adminhtml.xml



<config>
<menu>
<example translate="title" module="example">
<title>Example</title>
<sort_order>1000</sort_order>
<action>adminhtml/example</action>
</example>
</menu>








magento-1.9 adminhtml






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 1 '17 at 17:34









LesterLester

157 bronze badges




157 bronze badges












  • why are you creating duplicate question again? magento.stackexchange.com/questions/191638/…

    – Abhishek Panchal
    Sep 1 '17 at 17:45











  • because i don't know the answer.

    – Lester
    Sep 1 '17 at 17:50











  • will you get answer if you create duplicate question?

    – Abhishek Panchal
    Sep 1 '17 at 17:50











  • can you please add full code of both the files?

    – Abhishek Panchal
    Sep 1 '17 at 18:06

















  • why are you creating duplicate question again? magento.stackexchange.com/questions/191638/…

    – Abhishek Panchal
    Sep 1 '17 at 17:45











  • because i don't know the answer.

    – Lester
    Sep 1 '17 at 17:50











  • will you get answer if you create duplicate question?

    – Abhishek Panchal
    Sep 1 '17 at 17:50











  • can you please add full code of both the files?

    – Abhishek Panchal
    Sep 1 '17 at 18:06
















why are you creating duplicate question again? magento.stackexchange.com/questions/191638/…

– Abhishek Panchal
Sep 1 '17 at 17:45





why are you creating duplicate question again? magento.stackexchange.com/questions/191638/…

– Abhishek Panchal
Sep 1 '17 at 17:45













because i don't know the answer.

– Lester
Sep 1 '17 at 17:50





because i don't know the answer.

– Lester
Sep 1 '17 at 17:50













will you get answer if you create duplicate question?

– Abhishek Panchal
Sep 1 '17 at 17:50





will you get answer if you create duplicate question?

– Abhishek Panchal
Sep 1 '17 at 17:50













can you please add full code of both the files?

– Abhishek Panchal
Sep 1 '17 at 18:06





can you please add full code of both the files?

– Abhishek Panchal
Sep 1 '17 at 18:06










1 Answer
1






active

oldest

votes


















0














You know, the admin menu contains a lot of files, I'll not put all the module files, but I will help you to direct you to the right solution.



app/code/local/MasteringMagento/Example/etc/config.xml



...
</global>
<adminhtml>
<layout>
<updates>
<example>
<file>example.xml</file>
</example>
</updates>
</layout>
</adminhtml>
</config>


app/code/local/MasteringMagento/Example/etc/adminhtml.xml



<?xml version="1.0" encoding="UTF-8"?>
<config>
<menu>
<menu1 module="example" translate="title">
<title>Menu 1</title>
<sort_order>100</sort_order>
<children>
<item1 module="example" translate="title">
<title>Submenu 1</title>
<sort_order>1</sort_order>
<action>adminhtml/menu/index</action>
</item1>
<item2 module="example" translate="title">
<title>Submenu 2</title>
<sort_order>2</sort_order>
<action>adminhtml/index/index</action>
</item2>
</children>
</menu1>
</menu>
<acl>
<resources>
<admin>
<children>
<menu1 translate="title" module="example">
<title>Menu 1</title>
<sort_order>100</sort_order>
<children>
<item1 translate="title">
<title>Submenu 1</title>
<sort_order>1</sort_order>
</item1>
<item2 translate="title">
<title>Submenu 2</title>
<sort_order>2</sort_order>
</item2>
</children>
</menu1>
</children>
</admin>
</resources>
</acl>
</config>


app/code/local/MasteringMagento/Example/controllers/Adminhtml/IndexController.php



<?php

class MasteringMagento_Example_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action

public function indexAction()

$this->loadLayout()
->_setActiveMenu('menu/menu')
->_title($this->__('Submenu1'));
$this->renderLayout();




app/design/adminhtml/default/default/layout/example.xml



<?xml version="1.0" encoding="UTF-8"?>
<layout version="0.1.0">
<adminhtml_index_index>
<reference name="content">
<block type="exemple/adminhtml_menu" name="exemple"/>
</reference>
</adminhtml_index_index>
</layout>


Now you have to create all files block ...






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%2f191644%2fhow-can-i-add-a-menu-in-my-magento-backend%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You know, the admin menu contains a lot of files, I'll not put all the module files, but I will help you to direct you to the right solution.



    app/code/local/MasteringMagento/Example/etc/config.xml



    ...
    </global>
    <adminhtml>
    <layout>
    <updates>
    <example>
    <file>example.xml</file>
    </example>
    </updates>
    </layout>
    </adminhtml>
    </config>


    app/code/local/MasteringMagento/Example/etc/adminhtml.xml



    <?xml version="1.0" encoding="UTF-8"?>
    <config>
    <menu>
    <menu1 module="example" translate="title">
    <title>Menu 1</title>
    <sort_order>100</sort_order>
    <children>
    <item1 module="example" translate="title">
    <title>Submenu 1</title>
    <sort_order>1</sort_order>
    <action>adminhtml/menu/index</action>
    </item1>
    <item2 module="example" translate="title">
    <title>Submenu 2</title>
    <sort_order>2</sort_order>
    <action>adminhtml/index/index</action>
    </item2>
    </children>
    </menu1>
    </menu>
    <acl>
    <resources>
    <admin>
    <children>
    <menu1 translate="title" module="example">
    <title>Menu 1</title>
    <sort_order>100</sort_order>
    <children>
    <item1 translate="title">
    <title>Submenu 1</title>
    <sort_order>1</sort_order>
    </item1>
    <item2 translate="title">
    <title>Submenu 2</title>
    <sort_order>2</sort_order>
    </item2>
    </children>
    </menu1>
    </children>
    </admin>
    </resources>
    </acl>
    </config>


    app/code/local/MasteringMagento/Example/controllers/Adminhtml/IndexController.php



    <?php

    class MasteringMagento_Example_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action

    public function indexAction()

    $this->loadLayout()
    ->_setActiveMenu('menu/menu')
    ->_title($this->__('Submenu1'));
    $this->renderLayout();




    app/design/adminhtml/default/default/layout/example.xml



    <?xml version="1.0" encoding="UTF-8"?>
    <layout version="0.1.0">
    <adminhtml_index_index>
    <reference name="content">
    <block type="exemple/adminhtml_menu" name="exemple"/>
    </reference>
    </adminhtml_index_index>
    </layout>


    Now you have to create all files block ...






    share|improve this answer



























      0














      You know, the admin menu contains a lot of files, I'll not put all the module files, but I will help you to direct you to the right solution.



      app/code/local/MasteringMagento/Example/etc/config.xml



      ...
      </global>
      <adminhtml>
      <layout>
      <updates>
      <example>
      <file>example.xml</file>
      </example>
      </updates>
      </layout>
      </adminhtml>
      </config>


      app/code/local/MasteringMagento/Example/etc/adminhtml.xml



      <?xml version="1.0" encoding="UTF-8"?>
      <config>
      <menu>
      <menu1 module="example" translate="title">
      <title>Menu 1</title>
      <sort_order>100</sort_order>
      <children>
      <item1 module="example" translate="title">
      <title>Submenu 1</title>
      <sort_order>1</sort_order>
      <action>adminhtml/menu/index</action>
      </item1>
      <item2 module="example" translate="title">
      <title>Submenu 2</title>
      <sort_order>2</sort_order>
      <action>adminhtml/index/index</action>
      </item2>
      </children>
      </menu1>
      </menu>
      <acl>
      <resources>
      <admin>
      <children>
      <menu1 translate="title" module="example">
      <title>Menu 1</title>
      <sort_order>100</sort_order>
      <children>
      <item1 translate="title">
      <title>Submenu 1</title>
      <sort_order>1</sort_order>
      </item1>
      <item2 translate="title">
      <title>Submenu 2</title>
      <sort_order>2</sort_order>
      </item2>
      </children>
      </menu1>
      </children>
      </admin>
      </resources>
      </acl>
      </config>


      app/code/local/MasteringMagento/Example/controllers/Adminhtml/IndexController.php



      <?php

      class MasteringMagento_Example_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action

      public function indexAction()

      $this->loadLayout()
      ->_setActiveMenu('menu/menu')
      ->_title($this->__('Submenu1'));
      $this->renderLayout();




      app/design/adminhtml/default/default/layout/example.xml



      <?xml version="1.0" encoding="UTF-8"?>
      <layout version="0.1.0">
      <adminhtml_index_index>
      <reference name="content">
      <block type="exemple/adminhtml_menu" name="exemple"/>
      </reference>
      </adminhtml_index_index>
      </layout>


      Now you have to create all files block ...






      share|improve this answer

























        0












        0








        0







        You know, the admin menu contains a lot of files, I'll not put all the module files, but I will help you to direct you to the right solution.



        app/code/local/MasteringMagento/Example/etc/config.xml



        ...
        </global>
        <adminhtml>
        <layout>
        <updates>
        <example>
        <file>example.xml</file>
        </example>
        </updates>
        </layout>
        </adminhtml>
        </config>


        app/code/local/MasteringMagento/Example/etc/adminhtml.xml



        <?xml version="1.0" encoding="UTF-8"?>
        <config>
        <menu>
        <menu1 module="example" translate="title">
        <title>Menu 1</title>
        <sort_order>100</sort_order>
        <children>
        <item1 module="example" translate="title">
        <title>Submenu 1</title>
        <sort_order>1</sort_order>
        <action>adminhtml/menu/index</action>
        </item1>
        <item2 module="example" translate="title">
        <title>Submenu 2</title>
        <sort_order>2</sort_order>
        <action>adminhtml/index/index</action>
        </item2>
        </children>
        </menu1>
        </menu>
        <acl>
        <resources>
        <admin>
        <children>
        <menu1 translate="title" module="example">
        <title>Menu 1</title>
        <sort_order>100</sort_order>
        <children>
        <item1 translate="title">
        <title>Submenu 1</title>
        <sort_order>1</sort_order>
        </item1>
        <item2 translate="title">
        <title>Submenu 2</title>
        <sort_order>2</sort_order>
        </item2>
        </children>
        </menu1>
        </children>
        </admin>
        </resources>
        </acl>
        </config>


        app/code/local/MasteringMagento/Example/controllers/Adminhtml/IndexController.php



        <?php

        class MasteringMagento_Example_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action

        public function indexAction()

        $this->loadLayout()
        ->_setActiveMenu('menu/menu')
        ->_title($this->__('Submenu1'));
        $this->renderLayout();




        app/design/adminhtml/default/default/layout/example.xml



        <?xml version="1.0" encoding="UTF-8"?>
        <layout version="0.1.0">
        <adminhtml_index_index>
        <reference name="content">
        <block type="exemple/adminhtml_menu" name="exemple"/>
        </reference>
        </adminhtml_index_index>
        </layout>


        Now you have to create all files block ...






        share|improve this answer













        You know, the admin menu contains a lot of files, I'll not put all the module files, but I will help you to direct you to the right solution.



        app/code/local/MasteringMagento/Example/etc/config.xml



        ...
        </global>
        <adminhtml>
        <layout>
        <updates>
        <example>
        <file>example.xml</file>
        </example>
        </updates>
        </layout>
        </adminhtml>
        </config>


        app/code/local/MasteringMagento/Example/etc/adminhtml.xml



        <?xml version="1.0" encoding="UTF-8"?>
        <config>
        <menu>
        <menu1 module="example" translate="title">
        <title>Menu 1</title>
        <sort_order>100</sort_order>
        <children>
        <item1 module="example" translate="title">
        <title>Submenu 1</title>
        <sort_order>1</sort_order>
        <action>adminhtml/menu/index</action>
        </item1>
        <item2 module="example" translate="title">
        <title>Submenu 2</title>
        <sort_order>2</sort_order>
        <action>adminhtml/index/index</action>
        </item2>
        </children>
        </menu1>
        </menu>
        <acl>
        <resources>
        <admin>
        <children>
        <menu1 translate="title" module="example">
        <title>Menu 1</title>
        <sort_order>100</sort_order>
        <children>
        <item1 translate="title">
        <title>Submenu 1</title>
        <sort_order>1</sort_order>
        </item1>
        <item2 translate="title">
        <title>Submenu 2</title>
        <sort_order>2</sort_order>
        </item2>
        </children>
        </menu1>
        </children>
        </admin>
        </resources>
        </acl>
        </config>


        app/code/local/MasteringMagento/Example/controllers/Adminhtml/IndexController.php



        <?php

        class MasteringMagento_Example_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action

        public function indexAction()

        $this->loadLayout()
        ->_setActiveMenu('menu/menu')
        ->_title($this->__('Submenu1'));
        $this->renderLayout();




        app/design/adminhtml/default/default/layout/example.xml



        <?xml version="1.0" encoding="UTF-8"?>
        <layout version="0.1.0">
        <adminhtml_index_index>
        <reference name="content">
        <block type="exemple/adminhtml_menu" name="exemple"/>
        </reference>
        </adminhtml_index_index>
        </layout>


        Now you have to create all files block ...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 1 '17 at 19:53









        PЯINCƏPЯINCƏ

        8,5773 gold badges11 silver badges50 bronze badges




        8,5773 gold badges11 silver badges50 bronze badges



























            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%2f191644%2fhow-can-i-add-a-menu-in-my-magento-backend%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

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form