Is there a way I can rearrange the position of tabs in the profile page? Every time I add a module that’s user-related, I get tabs that seem to go wherever they want—most of the time in undesirable places. I would like to see the “Edit Profile” tab right next to the “Profile” tab and ideally the tab set would be arranged like this: Profile-Edit Profile-Change Password-Bookmarks-Invitations-Track-Contact. If someone can help, I’d appreciate it.

Comments

dnewkerk’s picture

I'm not certain if it can be done from within the theme (I don't think so)... however if you add a very simple custom module, you can do it easily.

Here's an example of code within the module:

/**
 * Implementation of hook_menu_alter().
 */
function YOURMODULE_menu_alter(&$items) {
  // This tab (the Track tab on user profiles) will no longer appear:
  $items['user/%user/track']['type'] = MENU_CALLBACK;
  // This tab (the Edit tab on nodes) will move to the right:
  $items['node/%node/edit']['weight'] = 100;
}
hershel’s picture

bedot’s picture

http://drupal.org/project/tabtamer for arrangentment
http://drupal.org/project/tabname_tweaker for change name inside the tab

yesct’s picture

tabtamer module worked really well.