[development] Wierd menu problem

Nancy Wichmann nan_wich at bellsouth.net
Thu Dec 17 23:44:29 UTC 2009


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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091217/28ae1217/attachment.html 


More information about the development mailing list