[development] Wierd menu problem
Earl Miles
merlin at logrus.com
Fri Dec 18 01:25:09 UTC 2009
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?
More information about the development
mailing list