Hey.

Just got to styling up my user account page on a new site I'm building and noticed that the 'Address book' tab seems to be quite high in the tabs list, its even before edit.

I'm guess its quite easy to change with hook_menu_alter(), But IMHO I get the feeling that by default it should be at least after 'Edit'.

What do people think?

CommentFileSizeAuthor
#1 1877444-1.patch484 bytesm.stenta
#1 1877444-1-screenshot.png10.95 KBm.stenta
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

m.stenta’s picture

Version: 7.x-2.0-rc3 » 7.x-2.x-dev
Status: Active » Needs review
FileSize
10.95 KB
484 bytes

Agreed. "View" and "Edit" should be adjacent, for consistency.

The "View" tab has a weight of -10 in user.module, and the "Edit" tab has a default weight of 0.

Out-of-the box, Commerce also adds the "Orders" tab if you have the Commerce Orders UI module enabled. This is provided by Views, and has a default weight of 15. In my opinion, the Address Book tab should come after "Orders".

So I'm proposing a weight of 20. Patch attached (against the current 7.x-2.x branch).

Also attached is a quick screenshot I took of the new arrangement. I think it looks nice... small to big. :-)

ressa’s picture

Talk about timing, I just got the same thought -- to bump the "Address Book" link down at the end.
And you're right, on top of belonging there, it does look nicer visually. I visited your web site and noticed the trend in your own menu links :-) I really liked "Portraits of Movement".

m.stenta’s picture

Thanks @ressa! :-)

jsacksick’s picture

Automatically closed -- issue fixed for 2 weeks with no activity.