title: Drupal 6: how to display node with its local tasks tabs in menu item
body: <p>In my case each user has a gallery. Gallery is a node. I'd like to hide default "Create content" menu and add custom menu link that links to user gallery.</p>
  
  <pre><code>function custom_menu() {
    $items = array();
    $items['galleries/editgallery'] = array(
      'title' =&gt; 'Edit gallery',
    'description' =&gt; 'edit gallery',
      'page callback' =&gt; 'custom_edit_gallery',
      'access callback' =&gt; 'custom_access_editgallery',
    );
    return $items;
  }
  
  function custom_edit_gallery (){
    global $user;
    $node = node_load ($user-&gt;gallerynid);
    return node_page_view ($node);
  }
  </code></pre>
  
  <p>But it doesn't show local tasks tabs(like "Edit" tab).</p>