Nancy Wichmann wrote:
Can someone explain why the first menu item does not work, but the
second one does?
function simple_menu_menu() {
$items = array();
$items['simple_menu'] = array(
'page callback' => '_simple_menu_view',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['_menu_view'] = array(
'page callback' => '_simple_menu_view',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}
My guess is something external is happening. Maybe you're getting a
collision on the simple_menu path?