Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#5 | profile2_user_info.zip | 3.84 KB | Argus |
nav_pills.PNG | 6.4 KB | thibaut51 |
Comments
Comment #1
thibaut51 CreditAttribution: thibaut51 commentedAny idea ?
Comment #2
mpotter CreditAttribution: mpotter commentedSorry, 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.
Comment #3
JKingsnorth CreditAttribution: JKingsnorth commentedThis 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.
Comment #4
Argus CreditAttribution: Argus as a volunteer commentedReopening this and changing to a Feature Request after checking the Profiles2 integration. Also refering to this comment that promises improvement of user Profile pages.
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.
Comment #5
Argus CreditAttribution: Argus as a volunteer commentedI 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.
Comment #6
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedIs this at all helpful?
https://github.com/phase2/oa_profile2
Comment #7
mpotter CreditAttribution: mpotter commentedYep, #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.
Comment #8
imorale2 CreditAttribution: imorale2 commented@Argus #5 works wonders! I am so grateful.