Answer the question
In order to leave comments, you need to log in
What should be the name of controllers in magento?
Here is the code snippet from the etc/config.xml file
<adminhtml>
<menu>
<cmindscmsmenu module="cmindscmsmenu">
<title>CMS Menu</title>
<sort_order>100</sort_order>
<action>cmindscmsmenu_admin/adminhtml_cmsmenu</action>
</cmindscmsmenu>
</menu>
</adminhtml>
<?php
class Cminds_CmsMenu_Adminhtml_CmsMenuController extends Mage_Adminhtml_Controller_Action
{
public function indexAction()
{
$this->loadLayout();
$this->_setActiveMenu('cmindscmsmenu');
$contentBlock = $this->getLayout()->createBlock('cmindscmsmenu/adminhtml_CmsMenu');
$this->_addContent($contentBlock);
$this->renderLayout();
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question