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

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

                              Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                              Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?