Override menu item weight (bring it to same level as 'user' link) that has user/% path and has to be in user-menu I need a menu item living in the user-menu, has path like 'user/%something' but i dont want it to have "My account" link as parent (that has path 'user')

i can only change that through the administration but this is not an accepted answer...

Any thoughts?

thnx
pff got it

had to

hook_menu_link_alter


and changes this link's plid like:

/**
* Implements hook_menu_link_alter().
*/
function YOURMODULE_menu_link_alter(&amp;$item) {
  if ($item['link_path'] == 'user/some-path') {
    $item['plid'] = '0'; // instead of '2' (My Account menu item)
 }
}


drupal is a pain sometimes... but we love it anyway