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;

}

 

Nancy E. Wichmann, PMP 

Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
Jr.

 

Reply via email to