hi ....
1st - sorry 4 my bad english. i'm trying to approve my skill here :D
i m sure its a beginner problem - i read the handbooks, tutorial and drove through http://abi.drupal.org but had no luck now 4 days...
I'm trying to create a own module and would like to fire the modulename_form_subit function
PLEASE - anybody have mercy to a NOOB BOON what ever - PLEASE whats wrong?
<?php
//----------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------
function majordomo_menu() {
$items = array();
$items[] = array(
'path' => 'admin/settings/majordomo',
'title' => t('Majordomo Einstellungen'),
//'callback' => 'drupal_get_form',
'callback' => 'majordomo_verwaltung',
'description' => t('Hier gehts zu den Einstellungen für das Majordomomodul'),
'access' => user_access('Majordomomodul verwalten'),
'type' => MENU_NORMAL_ITEM
);
return $items;
}
//----------------------------------------------------------------------------------------
function majordomo_verwaltung()
{
$page_content='';
$page_content = drupal_get_form('_komm_form');
print theme("page", $page_content);
}
//----------------------------------------------------------------------------------------