I thought of that and can't find any other items like that in the menu_links table. And, BTW, it doesn't seem to matter what the string is, if it starts with an alpha character, it fails; with the underscore it works. Makes no sense to me.
Nancy E. Wichmann, PMP Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Earl Miles Sent: Thursday, December 17, 2009 8:25 PM To: [email protected] Subject: Re: [development] Wierd menu problem 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? No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.716 / Virus Database: 270.14.112/2571 - Release Date: 12/17/09 14:40:00
