I have created easylife admincontroller and it configure the config.xml, and I give the Url-> protocal://Ipaddress/ics/admin/admintest but it's not displaying.
can any one tell me where I went wrong?
my code is:
Ics->EasyLife->controllers->Adminhtml->IndexController.php
<?php
class Ics_EasyLife_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action
{
public function indexAction()
{
$this->loadLayout();
$this->renderLayout();
}
}
Ics->EasyLife->Block->Adminhtml->Template.php
<?php
class Ics_EasyLife_Block_Adminhtml_Template extends Mage_Adminhtml_Block_Widget_Form
{
public function MyMethod()
{
echo "Admin Html Page Method";
}
}
Ics->EasyLife->etc->config.xml
<admin>
<routers>
<icscontroller>
<use>admin</use>
<args>
<module>Ics_EasyLife</module>
<frontName>admintest</frontName>
</args>
</icscontroller>
</routers>
</admin>
thanks in advance.