4 deleted 8 characters in body; edited tags; edited title
source | link

How to do work with custom module admin panel?Admin Panel

iI want to attach my template and block to custom module but how to manage it? iI want to just print simple hello there with proper layout in admin panel these are my files ........

How to do work with custom module admin panel?

i want to attach my template and block to custom module but how to manage it? i want to just print simple hello there with proper layout in admin panel these are my files ........

How to do work with custom module Admin Panel

I want to attach my template and block to custom module but how to manage it? I want to just print simple hello there with proper layout in admin panel these are my files.

3 improved formatting
source | link
 <?php

    class Matrid_Feedmanager_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action {
     protected function _isAllowed()
        {
            return true;
        }

      public function indexAction() {

            $this->loadLayout();
            $this->renderLayout();


      }

    }

app\code\local\Matrid\Feedmanager\controller\IndexController.php

app\code\local\Matrid\Feedmanager\controller\IndexController.php

loadLayout();$this->renderLayout();}public function anotherAction(){echo 'test mamethode';}}?>

class Matrid_Feedmanager_IndexController extends Mage_Core_Controller_Front_Action{

    public function indexAction()
    {
        $this->loadLayout ();
        $this->renderLayout ();
    }
    public function anotherAction()
    {
        echo 'test mamethode';
    }
}
<?php

class Matrid_Feedmanager_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action {
 protected function _isAllowed()
    {
        return true;
    }

  public function indexAction() {

        $this->loadLayout();
        $this->renderLayout();


  }

}

app\code\local\Matrid\Feedmanager\controller\IndexController.php

loadLayout();$this->renderLayout();}public function anotherAction(){echo 'test mamethode';}}?>
 <?php

    class Matrid_Feedmanager_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action {
     protected function _isAllowed()
        {
            return true;
        }

      public function indexAction() {

            $this->loadLayout();
            $this->renderLayout();


      }

    }

app\code\local\Matrid\Feedmanager\controller\IndexController.php

class Matrid_Feedmanager_IndexController extends Mage_Core_Controller_Front_Action{

    public function indexAction()
    {
        $this->loadLayout ();
        $this->renderLayout ();
    }
    public function anotherAction()
    {
        echo 'test mamethode';
    }
}
2 improved formatting
source | link

i want to attach my template and block to custom module but how to manage it? i want to just print simple hello there with proper layout in admin panel these are my files ........ app\code\local\Matrid\Feedmanager\etc\config.xml 0.1.0 standard Matrid_Feedmanager feedmanager admin Matrid_Feedmanager admin_feedmanager Matrid_Feedmanager_Helper feedmanager.xml
Matrid_Feedmanager 31 Manager_Items 2 admin_feedmanager/adminhtml_index

public function indexAction() {

app\code\local\Matrid\Feedmanager\etc\config.xml

<?xml version="1.0"?>
<config>
  <modules>
    <Matrid_Feedmanager>
      <version>0.1.0</version>
    </Matrid_Feedmanager>
  </modules>
  <frontend>
    <routers>
      <feedmanager>
        <use>standard</use>
        <args>
          <module>Matrid_Feedmanager</module>
          <frontName>feedmanager</frontName>
        </args>
      </feedmanager>
    </routers>
  </frontend>
<admin>
  <routers>
    <feedmanager>
     <use>admin</use>
     <args>
      <module>Matrid_Feedmanager</module>
      <frontName>admin_feedmanager</frontName>
     </args>
    </feedmanager>
  </routers>
</admin>
<global>
  <helpers>
    <feedmanager>
      <class>Matrid_Feedmanager_Helper</class>
    </feedmanager>
  </helpers>
</global>
<adminhtml>
 <layout>
        <updates>
      <matrid>
          <file>feedmanager.xml</file>
         </matrid>
     </updates>   
    </layout>
 <menu>
 <catalog>
 <children>
   <feedmanager module="feedmanager">
     <title>Matrid_Feedmanager</title>
     <sort_order>31</sort_order>
    <children>
      <feedmanager module="feedmanager">
        <title>Manager_Items</title>
        <sort_order>2</sort_order>
        <action>admin_feedmanager/adminhtml_index</action>
      </feedmanager>
    </children>
   </feedmanager>
   </children>
   </catalog>
 </menu>
</adminhtml>
</config>

app\code\local\Matrid\Feedmanager\controller\adminhtml\IndexController.php

<?php

class Matrid_Feedmanager_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action {
 protected function _isAllowed()
    {
        return true;
    }

  public function indexAction() {

        $this->loadLayout();
        $this->renderLayout();


  }

}

}

} app\code\local\Matrid\Feedmanager\controller\IndexController app\code\local\Matrid\Feedmanager\controller\IndexController.php

class Matrid_Feedmanager_IndexController extends Mage_Core_Controller_Front_Action{

public function indexAction() { $this->loadLayout (); $this->renderLayout ();

loadLayout();$this->renderLayout();}public function anotherAction(){echo 'test mamethode';}}?>

app/design/frontend/default/electronics/layout/feedmanager.xml

}<layout version="0.1.0">
 public function anotherAction() <default>
{        <reference name="content">
    echo 'test mamethode';  </reference>
}    </default>
    <test_index_index>
        <reference name="content">
            <block type="feedmanager/mydata" name="feed_mydata" template="feedmanager/index.phtml" />
        </reference>
    </feedmanager_index_index>
</layout>

} ?> app/design/frontend/default/electronics/layout/feedmanager.xml

i want to attach my template and block to custom module but how to manage it? i want to just print simple hello there with proper layout in admin panel these are my files ........ app\code\local\Matrid\Feedmanager\etc\config.xml 0.1.0 standard Matrid_Feedmanager feedmanager admin Matrid_Feedmanager admin_feedmanager Matrid_Feedmanager_Helper feedmanager.xml
Matrid_Feedmanager 31 Manager_Items 2 admin_feedmanager/adminhtml_index

public function indexAction() {

    $this->loadLayout();
    $this->renderLayout();

}

} app\code\local\Matrid\Feedmanager\controller\IndexController.php

class Matrid_Feedmanager_IndexController extends Mage_Core_Controller_Front_Action{

public function indexAction() { $this->loadLayout (); $this->renderLayout ();

}
 public function anotherAction()
{
    echo 'test mamethode';
}

} ?> app/design/frontend/default/electronics/layout/feedmanager.xml

i want to attach my template and block to custom module but how to manage it? i want to just print simple hello there with proper layout in admin panel these are my files ........

app\code\local\Matrid\Feedmanager\etc\config.xml

<?xml version="1.0"?>
<config>
  <modules>
    <Matrid_Feedmanager>
      <version>0.1.0</version>
    </Matrid_Feedmanager>
  </modules>
  <frontend>
    <routers>
      <feedmanager>
        <use>standard</use>
        <args>
          <module>Matrid_Feedmanager</module>
          <frontName>feedmanager</frontName>
        </args>
      </feedmanager>
    </routers>
  </frontend>
<admin>
  <routers>
    <feedmanager>
     <use>admin</use>
     <args>
      <module>Matrid_Feedmanager</module>
      <frontName>admin_feedmanager</frontName>
     </args>
    </feedmanager>
  </routers>
</admin>
<global>
  <helpers>
    <feedmanager>
      <class>Matrid_Feedmanager_Helper</class>
    </feedmanager>
  </helpers>
</global>
<adminhtml>
 <layout>
        <updates>
      <matrid>
          <file>feedmanager.xml</file>
         </matrid>
     </updates>   
    </layout>
 <menu>
 <catalog>
 <children>
   <feedmanager module="feedmanager">
     <title>Matrid_Feedmanager</title>
     <sort_order>31</sort_order>
    <children>
      <feedmanager module="feedmanager">
        <title>Manager_Items</title>
        <sort_order>2</sort_order>
        <action>admin_feedmanager/adminhtml_index</action>
      </feedmanager>
    </children>
   </feedmanager>
   </children>
   </catalog>
 </menu>
</adminhtml>
</config>

app\code\local\Matrid\Feedmanager\controller\adminhtml\IndexController.php

<?php

class Matrid_Feedmanager_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action {
 protected function _isAllowed()
    {
        return true;
    }

  public function indexAction() {

        $this->loadLayout();
        $this->renderLayout();


  }

}

app\code\local\Matrid\Feedmanager\controller\IndexController.php

loadLayout();$this->renderLayout();}public function anotherAction(){echo 'test mamethode';}}?>

app/design/frontend/default/electronics/layout/feedmanager.xml

<layout version="0.1.0">
    <default>
        <reference name="content">
        </reference>
    </default>
    <test_index_index>
        <reference name="content">
            <block type="feedmanager/mydata" name="feed_mydata" template="feedmanager/index.phtml" />
        </reference>
    </feedmanager_index_index>
</layout>
1
source | link