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;
I don't understand the _setActiveMenu function in Magento 1..
Usually it is used with the loadLayout function.
Thanks
magento-1.9
add a comment |
I don't understand the _setActiveMenu function in Magento 1..
Usually it is used with the loadLayout function.
Thanks
magento-1.9
add a comment |
I don't understand the _setActiveMenu function in Magento 1..
Usually it is used with the loadLayout function.
Thanks
magento-1.9
I don't understand the _setActiveMenu function in Magento 1..
Usually it is used with the loadLayout function.
Thanks
magento-1.9
magento-1.9
asked Aug 5 at 9:57
Theo CeruttiTheo Cerutti
189 bronze badges
189 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
_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();
add a comment |
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).
Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu>
tag.
Hope it finds helpful.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
_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();
add a comment |
_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();
add a comment |
_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();
_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();
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
add a comment |
add a comment |
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).
Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu>
tag.
Hope it finds helpful.
add a comment |
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).
Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu>
tag.
Hope it finds helpful.
add a comment |
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).
Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu>
tag.
Hope it finds helpful.
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).
Parameter passed throught _setActiveMenu should be the one specified in config.xml <adminhtml> <menu>
tag.
Hope it finds helpful.
answered Aug 5 at 10:08
Abdul PathanAbdul Pathan
1,1752 silver badges14 bronze badges
1,1752 silver badges14 bronze badges
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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