<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello everybody,<br>
    I am new to drupal and am stuck at a very basic problem. I would
    like to simply show the edit page to a known node id. (The reason I
    want to do this is because I would like to append a form to a view
    late, but one step at a time...)<br>
    <br>
    My module:<br>
    <br>
    &lt;?php<br>
    /*<br>
    &nbsp;* Show the edid page to a specific nid.<br>
    &nbsp;*/<br>
    &nbsp;<br>
    function control_center_menu() {<br>
    &nbsp; $items = array();<br>
    &nbsp; module_load_include('inc', 'node', 'node.pages');<br>
    &nbsp; $nid = 4;<br>
    &nbsp; $node = node_load($nid);<br>
    &nbsp; $items['test/test'] = array(<br>
    &nbsp;&nbsp;&nbsp; 'title' =&gt; 'Edit this node',<br>
    &nbsp;&nbsp;&nbsp; 'description' =&gt; 'Edit this node.',<br>
    &nbsp;&nbsp;&nbsp; 'page callback' =&gt; 'drupal_get_form',<br>
    &nbsp;&nbsp;&nbsp; 'page arguments' =&gt; array('page_node_form', $node),<br>
    &nbsp;&nbsp;&nbsp; 'access callback' =&gt; TRUE,<br>
    &nbsp; );<br>
    &nbsp; return $items;<br>
    }<br>
    <br>
    <br>
    However, at test/test I get a bunch of errors:<br>
    <ul>
      <li><em class="placeholder">Warning</em>: call_user_func_array()
        expects parameter 1 to be a valid callback, function 'node_form'
        not found or invalid function name in <em class="placeholder">drupal_retrieve_form()</em>
        (line <em class="placeholder">795</em> of <em
          class="placeholder">/home/christian/workspace/gigs/includes/form.inc</em>).</li>
      <li><em class="placeholder">Notice</em>: Undefined index: #node in
        <em class="placeholder">menu_form_node_form_alter()</em> (line <em
          class="placeholder">629</em> of <em class="placeholder">/home/christian/workspace/gigs/modules/menu/menu.module</em>).</li>
      <li><em class="placeholder">Notice</em>: Trying to get property of
        non-object in <em class="placeholder">menu_form_node_form_alter()</em>
        (line <em class="placeholder">629</em> of <em
          class="placeholder">/home/christian/workspace/gigs/modules/menu/menu.module</em>).</li>
      <li><em class="placeholder">Notice</em>: Undefined index: #node in
        <em class="placeholder">menu_form_node_form_alter()</em> (line <em
          class="placeholder">630</em> of <em class="placeholder">/home/christian/workspace/gigs/modules/menu/menu.module</em>).</li>
      <li><em class="placeholder">Notice</em>: Trying to get property of
        non-object in <em class="placeholder">menu_form_node_form_alter()</em>
        (line <em class="placeholder">630</em> of <em
          class="placeholder">/home/christian/workspace/gigs/modules/menu/menu.module</em>).</li>
    </ul>
    <p>And instead of the hole form I only get the Menu setting check
      box and the URL path settings.<br>
    </p>
    <p><br>
      What am I doing wrong? I tried hard to find a noob friendly copy
      past example but didn't find any... Thanks a lot in advance!<br>
    </p>
    <p>Christian<br>
    </p>
    <br>
  </body>
</html>