I'am trying to get a menu item to show in the 'primary-links'.
i've read this, but that is not working. What am I doing wrong?
/**
* Implementation of hook_menu().
*/
function modulename_menu() {
$items = array();
$items['test'] = array(
'title' => t('test'),
'description' => 'some description',
'page callback' => 'modulename_function',
'access callback' => TRUE,
'type' => MENU_NORMAL_ITEM,
'menu_name' => 'primary-links',
);
return $items;
}
So i would expect 'test' to show up next to my other primary-links.
I added the 'primary-links' block to the header and logged in as user/1 but still the 'test' link is not showing in the menu or header bar.
Using Drupal 6.x with the Garland theme.