I am wondering how to move the user profile tabs around. Currently, I would like the default profile page when a user logs on to go to a tab I created called "Collections", which is a page based on user flags. How would I make this the default user profile page so it is the first thing they see when they log in? Thanks

Comments

sammyman’s picture

bump

marlowx’s picture

i think there is at least one module that can send users to a specific page after login... login redirect i think its called?

this might work?

sammyman’s picture

I am not really looking for a way to send people after login. I want to reorganize the tabs so one tab is the default tab, rather than the existing tab (which doesn't really give a lot of information).

Anyone?

narayanis’s picture

is this a tab on the My Account screen, using content profile? or a menu item?

sammyman’s picture

I am not sure of the difference between the My Account screen, and using content profile. It is located at www.zarts.com/user. I want to change the default there which is "View" and has the user history etc to another tab which I have entitled "Collection" and is located at user/1/collection.

narayanis’s picture

I see. I'm not aware of an existing module that can do this all in one. I see two options:

1. create a module to handle login redirect and the my account link. It wouldn't take much code. Essentially you'll use hook_form_alter to change the destination of where a person goes when logging in or when accessing the My Account page. The path to your content profile is probably like this: http://[site]/user/[uid]/profile/[profile name]

2. use Login Destination module for the main redirect. Replace the My Account menu item with a custom item that uses a path like the one above (perhaps the Token module can help with this)

sammyman’s picture

What about editing the info on the main account page??? Can I add things below the "User History" area?

narayanis’s picture

I've heard that the Panels module may be able to do this. Maybe give that a shot?

danylevskyi’s picture

Profile Tools module (http://drupal.org/project/profile_tools) will help you.
It has a feature to set default profile tab on user's account edit page.