Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Add additional user_profile_item to display on "My Account" page?

I installed the customer_profile_type_ui module and created an additional customer profile type to collect a few fields of info related to my site.

I have correctly set up checkout to collect this information. However, I wanted to know if there was a way to add this profile type (and a way for the user to edit it) on the "My Account" page.

thanks.

Asked by: miller2676
on June 15, 2013

1 Answer

Vote up!
0
Vote down!

I haven't installed the customer_profile_type_ui module but I assume they provide the interface to modify a profile instance.

So all you have to do is add that profile (and link to the edit profile page) in the my account page by implementing hook_user_view and/or hook_user_view alter.

If you need it in a separate tab, you need to implement hook_menu

Answer by: akosipax
Posted: Jun 17, 2013