how to call a drupal node editing form in a custom module? What i have done so far:
/*
* implementing hook_menu()
*/
function mymodule_menu() {
$items = array();
$items['custompage'] = array(
'title' => t('Sometitle'),
'page callback' => 'custom_page',
'access callback' => 'user_access',
'type' => MENU_NORMAL_ITEM
);
return $items;
}
function custom_page() {
$output = '';
$output = drupal_get_form(15);
return $output;
}
But it won't output node edit form with nid 15. What i am doing wrong?