I want to modify the user edit page and remove the "user info" nav pill to put everything on one page

By default the user/%user/edit page is disabled in OA.

I tried to activate and add a dumb text content. It works to modyfy the page except for removing the "Account" and "User Info" nav pills.

How should I do ?
Thanks

CommentFileSizeAuthor
#5 profile2_user_info.zip3.84 KBArgus
nav_pills.PNG6.4 KBthibaut51
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thibaut51’s picture

Any idea ?

mpotter’s picture

Sorry, but this was done specifically to make it easier for most users to add additional profile fields and to keep profiles separate from Account info. It also makes Open Atrium work better with the Profile2 module.

There is no way to remove this from the UI. It is being done in code hooks which you would need to find a way to override in custom code.

JKingsnorth’s picture

Status: Active » Closed (works as designed)

This issue has a response and no further information from the poster. mpotter suggests that this is by design, but that it can probably be overridden in custom code.

Argus’s picture

Title: How to change user account nav pills "Account" and "User Info" » Improve Profile2 integration
Version: 7.x-2.19 » 7.x-2.x-dev
Component: Documentation » Code
Category: Support request » Feature request
Status: Closed (works as designed) » Active
Related issues: +#2437811: User forms: Account and User Info

Reopening this and changing to a Feature Request after checking the Profiles2 integration. Also refering to this comment that promises improvement of user Profile pages.

It also makes Open Atrium work better with the Profile2 module.

I haven't been able to find the improvement. After enabling the Profile2 App and add some fields to the default profile, the profile is creating a new tab on user/%/edit with the profile fields.

#2437811: User forms: Account and User Info: this lists the fields that are displayed double causing bad user experience.

What I expect the Profiles2 App to do is: replace the User Info tab with an Open Atrium User Profile tab that can be customized. The fields now in the User Info tab (Display Name, Picture and about) could be the 3 default fields.

Argus’s picture

Status: Active » Needs review
FileSize
3.84 KB

I created a Feature that replaces the default User Info tab with one exactly the same, but using Profile2. Now any customizations can be done using Profile2, add fields, add tabs etc.

SocialNicheGuru’s picture

mpotter’s picture

Status: Needs review » Closed (works as designed)

Yep, #6 is correct. We have a module on github for this. Probably need to move it to Drupal.org at some point. But going to close this specific issue again.

imorale2’s picture

@Argus #5 works wonders! I am so grateful.