title: Create a form in magento admin panel
body: <p>I am trying to create form in admin panel(custom module) in magento. For now my magento custom module work properly. I created menu in admin panel, I rewrite some controllers,but I cannot create a form in admin panel(when I click on the menu item). In config.xml I have next part of code:</p>
  
  <pre><code>&lt;admin&gt;
              &lt;routers&gt;
                  &lt;test&gt;
                      &lt;use&gt;admin&lt;/use&gt;
                      &lt;args&gt;
                          &lt;module&gt;Mynamespace_Skipcart&lt;/module&gt;
                          &lt;frontName&gt;Skipcart&lt;/frontName&gt;
                      &lt;/args&gt;
                  &lt;/test&gt;
              &lt;/routers&gt;
          &lt;/admin&gt;
          &lt;adminhtml&gt;
              &lt;menu&gt;
                  &lt;tutorial_menu translate="title" module="skipcart"&gt;
                      &lt;title&gt;Skip Cart&lt;/title&gt;
                      &lt;sort_order&gt;9999&lt;/sort_order&gt;
                      &lt;children&gt;
                          &lt;first_page module="skipcart"&gt;
                              &lt;title&gt;Our First Page&lt;/title&gt;
                              &lt;action&gt;Skipcart/Adminhtml_index/index&lt;/action&gt;
                          &lt;/first_page&gt;
                      &lt;/children&gt;
                  &lt;/tutorial_menu&gt;
              &lt;/menu&gt;
              &lt;layout&gt;
                  &lt;updates&gt;
                      &lt;skipcart&gt;
                          &lt;file&gt;Skipcart.xml&lt;/file&gt;
                      &lt;/skipcart&gt;
                  &lt;/updates&gt;
              &lt;/layout&gt;
          &lt;/adminhtml&gt;
  </code></pre>
  
  <p>I have a file in app/design/frontend/default/default/layout/skipcart.xml. In this file I created wrong. With this method I check if magento read this file. If magento read the skipcart.xml will return Warning: simplexml_load_string(), but magento doesn`t return a error. And I have one more problem. If I move this code for the menu from config.xml in adminhtml.xml the menu from the admin panel disappear. I trying my module on magento 1.7. Can anybody help me?</p>
  
  <p>I have a controller in app/code/local/Mynamespace/Skipcart/controllers/Adminhtml/IndexController.php</p>
  
  <pre><code>&lt;?php
  
  class Mynamespace_Skipcart_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action {
       public function indexAction()
      {
          $this-&gt;loadLayout();
  
          //create a text block with the name of "example-block"
          $block = $this-&gt;getLayout()
          -&gt;createBlock('core/text', 'example-block')
          -&gt;setText('&lt;h1&gt;This is a text block&lt;/h1&gt;');
  
          $this-&gt;_addContent($block);
    //add menu active
          $this-&gt;_setActiveMenu('tutorial_menu/first_page');
         // $model = Mage::getModel('skipcart/skipcart'); Mage::log('da');
         // $this-&gt;_setActiveMenu('system/another_menu_from_us');
       // echo $block1 = $this-&gt;getLayout()-&gt;createBlock('skipcart/add');
        // $this-&gt;_addContent($block1);
          $this-&gt;renderLayout();
  
  
      }
      public function postAction()
      {
          $post = $this-&gt;getRequest()-&gt;getPost();
          try {
              if (empty($post)) {
                  Mage::throwException($this-&gt;__('Invalid form data.'));
              }
  
              /* here's your form processing */
  
              $message = $this-&gt;__('Your form has been submitted successfully.');
              Mage::getSingleton('adminhtml/session')-&gt;addSuccess($message);
          } catch (Exception $e) {
              Mage::getSingleton('adminhtml/session')-&gt;addError($e-&gt;getMessage());
          }
          $this-&gt;_redirect('*/*');
      }
  
  }
  ?&gt;
  </code></pre>
  
  <p>and skipcart.xml:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;layout&gt;
      &lt;skipcart_adminhtml_index_index&gt;
          &lt;reference name="root"&gt;
              &lt;action method="setTemplate"&gt;&lt;template&gt;page/2columns-left.phtml&lt;/template&gt;&lt;/action&gt;
          &lt;/reference&gt;
  
           &lt;update handle="skipcart_index_index"/&gt;
          &lt;reference name="content"&gt;
              &lt;block type="adminhtml/template" name="skipcart" template="skipcart/add.phtml"/&gt;
          &lt;/reference&gt;
      &lt;/skipcart_adminhtml_index_index&gt;
  &lt;!-- I miss the &lt;layout&gt; because I want to check if magento read this file.--&gt;
  </code></pre>