drupal module_hook problem
// does not work
// works
function testmodule_menu($may_cache) { if ($may_cache) { $items = array(); $items[] = array( 'path' => 'node/12', 'title' => t('Testing 123'), 'callback' => 'do_it', 'access' => TRUE, 'type' => MENU_CALLBACK); return $items; } }
// works
function testmodule_menu($may_cache) { if ($may_cache) { $items = array(); $items[] = array( 'path' => 'nodenode/12', 'title' => t('Testing 123'), 'callback' => 'do_it', 'access' => TRUE, 'type' => MENU_CALLBACK); return $items; } }