I'm new to Drupal and about to write my first custom module ("configurator") with help of the drupal documentation.
I've implemented the menu hook:
function configurator_menu()
{
$items = array();
$items['configurator'] = array(
'title' => 'Configurator',
'page callback' => 'configurator_init',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}
function configurator_init()
{
return "<p> Hello World </p>";
}
At "Administer > Site Building > Modules" the module is shown and activated. Cache has been cleared, but somehow the menu item for my "configurator" module is not showing up.
Why?