How to add new tab in user edit page drupal How can i add a new tab in user edit page. In user view page it is coming , but user edit page is not giving any result. 

function usermail_menu() { 
$items = array();
$items['user/%/invoice'] = array(
    'type' =&gt; MENU_LOCAL_TASK,
    'title' =&gt; 'Subscription Invoice',
    'page callback' =&gt; 'usermail_invoice',
    'access callback' =&gt; 'user_is_logged_in',
    'weight' =&gt; 3 
);
return $items;
}


This is working correctly. For user edit page i changed the path as 

function usermail_menu() { 
$items = array();
$items['user/%/edit/invoice'] = array(
    'type' =&gt; MENU_LOCAL_TASK,
    'title' =&gt; 'Subscription Invoice',
    'page callback' =&gt; 'usermail_invoice',
    'access callback' =&gt; 'user_is_logged_in',
    'weight' =&gt; 3 
);
return $items;
}


But it is not coming. Please help me. Do i want to add something else?
You just need one item only. Please make the following change

$items['user/%user/invoice'] = array(
    'type' =&gt; MENU_LOCAL_TASK,
    'title' =&gt; 'Subscription Invoice',
    'page arguments' =&gt; array('user', 1),
    'page callback' =&gt; 'usermail_invoice',
    'access callback' =&gt; 'user_is_logged_in',
    'weight' =&gt; 3 
);