By xenoterracide on
function upload_tab_menu()
{
$item['node/%node/attachment'] = array(
'name' => t('attachment'),
'description' => t('desc'),
'page callback' => 'test',
'type' => MENU_LOCAL_TASK
);
}
I've tried to get some of the various examples to work, but for now I'd like just to get the tab to show up... worry about what it does later.
Comments
Have you cleared the menu
Have you cleared the menu cache? You need to do so to get new menu items to show up. If you visit admin/build/menu it should rebuild it, or even easier use admin_menu.
--Zivtech--