What is the _setActiveMenu function in Magento 1what does $this->getUrl('fastorder/index/saveOrder') refers toMagento 1.9 - TypeError: this.toggleElements.toggleSingle is not a functionMaximum function nesting level , what it means?Renderer function not work in magento gridHow to get the TaxClassId from an order item?getLayer() What Is This Output?What stopObserving() function is used for - Magento 1.9What is setSendCconfirmation user for in create order functionMagento Cache, what function does it have?Explanation about getSelect() join() joinLeft()

Is this bar slide trick shown on Cheers real or a visual effect?

Why should I pay for an SSL certificate?

How does the ability of Bloodthirsty Aerialist resolve with other life link creatures?

Resource is refusing to do a handover before leaving

Generating Error when data size is larger then max text repl size

What are these panels underneath the wing root of a A380?

Is the Microsoft recommendation to use C# properties applicable to game development?

Is Fourier series a sampled version of Fourier transform?

Is nullptr falsy?

What is the purpose/function of this power inductor in parallel?

Problem with GFCI at start of circuit with both lights and two receptacles

Why don't modern jet engines use forced exhaust mixing?

Build a mob of suspiciously happy lenny faces ( ͡° ͜ʖ ͡°)

The space of cusp forms for GL_2 over F_q(T)

Does writing regular diary entries count as writing practice?

If a person claims to know anything could it be disproven by saying 'prove that we are not in a simulation'?

Has the speed of light ever been measured in vacuum?

Heyawacky: Ace of Cups

How would armour (and combat) change if the fighter didn't need to actually wear it?

What's the point of writing that I know will never be used or read?

What are the advantages of this gold finger shape?

What's the relationship betweeen MS-DOS and XENIX?

Output with the same length always

Would molten tin solidify and coat an organic horn?



What is the _setActiveMenu function in Magento 1


what does $this->getUrl('fastorder/index/saveOrder') refers toMagento 1.9 - TypeError: this.toggleElements.toggleSingle is not a functionMaximum function nesting level , what it means?Renderer function not work in magento gridHow to get the TaxClassId from an order item?getLayer() What Is This Output?What stopObserving() function is used for - Magento 1.9What is setSendCconfirmation user for in create order functionMagento Cache, what function does it have?Explanation about getSelect() join() joinLeft()






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








0















I don't understand the _setActiveMenu function in Magento 1..
Usually it is used with the loadLayout function.



Thanks










share|improve this question






























    0















    I don't understand the _setActiveMenu function in Magento 1..
    Usually it is used with the loadLayout function.



    Thanks










    share|improve this question


























      0












      0








      0








      I don't understand the _setActiveMenu function in Magento 1..
      Usually it is used with the loadLayout function.



      Thanks










      share|improve this question














      I don't understand the _setActiveMenu function in Magento 1..
      Usually it is used with the loadLayout function.



      Thanks







      magento-1.9






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 5 at 9:57









      Theo CeruttiTheo Cerutti

      189 bronze badges




      189 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          0














          _setActiveMenu is used to make menu tab module selected when that layout is loaded



          example :



          public function indexAction() 
          $this->loadLayout()
          ->_setActiveMenu('module_name') // the module menu will be selected
          ->_title($this->__('Title page here')); // title page
          $this->renderLayout();






          share|improve this answer
































            2














            When you do _setActiveMenu(), Magento highlights the specified menu just for user to know which menu is active. Something like this (here you see "Reports" is an active menu).



            enter image description here



            Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu> tag.



            Hope it finds helpful.






            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%2f284417%2fwhat-is-the-setactivemenu-function-in-magento-1%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









              0














              _setActiveMenu is used to make menu tab module selected when that layout is loaded



              example :



              public function indexAction() 
              $this->loadLayout()
              ->_setActiveMenu('module_name') // the module menu will be selected
              ->_title($this->__('Title page here')); // title page
              $this->renderLayout();






              share|improve this answer





























                0














                _setActiveMenu is used to make menu tab module selected when that layout is loaded



                example :



                public function indexAction() 
                $this->loadLayout()
                ->_setActiveMenu('module_name') // the module menu will be selected
                ->_title($this->__('Title page here')); // title page
                $this->renderLayout();






                share|improve this answer



























                  0












                  0








                  0







                  _setActiveMenu is used to make menu tab module selected when that layout is loaded



                  example :



                  public function indexAction() 
                  $this->loadLayout()
                  ->_setActiveMenu('module_name') // the module menu will be selected
                  ->_title($this->__('Title page here')); // title page
                  $this->renderLayout();






                  share|improve this answer













                  _setActiveMenu is used to make menu tab module selected when that layout is loaded



                  example :



                  public function indexAction() 
                  $this->loadLayout()
                  ->_setActiveMenu('module_name') // the module menu will be selected
                  ->_title($this->__('Title page here')); // title page
                  $this->renderLayout();







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 5 at 10:07









                  PЯINCƏPЯINCƏ

                  8,7023 gold badges11 silver badges50 bronze badges




                  8,7023 gold badges11 silver badges50 bronze badges


























                      2














                      When you do _setActiveMenu(), Magento highlights the specified menu just for user to know which menu is active. Something like this (here you see "Reports" is an active menu).



                      enter image description here



                      Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu> tag.



                      Hope it finds helpful.






                      share|improve this answer





























                        2














                        When you do _setActiveMenu(), Magento highlights the specified menu just for user to know which menu is active. Something like this (here you see "Reports" is an active menu).



                        enter image description here



                        Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu> tag.



                        Hope it finds helpful.






                        share|improve this answer



























                          2












                          2








                          2







                          When you do _setActiveMenu(), Magento highlights the specified menu just for user to know which menu is active. Something like this (here you see "Reports" is an active menu).



                          enter image description here



                          Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu> tag.



                          Hope it finds helpful.






                          share|improve this answer













                          When you do _setActiveMenu(), Magento highlights the specified menu just for user to know which menu is active. Something like this (here you see "Reports" is an active menu).



                          enter image description here



                          Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu> tag.



                          Hope it finds helpful.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Aug 5 at 10:08









                          Abdul PathanAbdul Pathan

                          1,1752 silver badges14 bronze badges




                          1,1752 silver badges14 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%2f284417%2fwhat-is-the-setactivemenu-function-in-magento-1%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