Hi!

I have a problem where the "menu" where users can select profile types in /user/[uid]/edit has disappeared. When editing an account as admin (uid: 1) I can see them, but when I log in as a regular user it's not shown.

If I go to the page directly, as a regular user, with copy and then pasting the URL (/user/[uid]/edit/[profile-type-name]) the page appears but the menu is still not showing.

I've checked the permissions and the users are allowed to view and edit there own profiles.

(I suspect that this problem appeared when I updated the module less then a week ago. I tried to revert to the old version (7.x-1.1), but the problem was still there.)

Thank you!

Comments

bendiy’s picture

Status: Active » Postponed (maintainer needs more info)

Have you enabled the "Profile2 pages" module that comes with Profile2? It is what provides the secondary menu link next to "My Account" for "My profile-name-here".

Also, edit the profile type (admin/structure/profiles) and check that "Provide a separate page for editing profiles." is checked. That will not be there unless "Profile2 pages" module is enabled.

mcfilms’s picture

I am having precisely the same problem. In fact it seems like Profile 2 does not integrate with the Drupal menu system at all in my D7 configuration. If I enabled the "Profile2 pages" module and create a Profile 2 page for my "Contestant" content type. The menu item generated did not vary based on the user. Since then I have tried to alias to the menu using the ME module and the Menu Token module. There seems to be no way to create a menu item that links to the user's own Profile.

bendiy’s picture

Do you have any profile2 links listed in:

  • admin/structure/menu/manage/user-menu

If so, what theme are you using? Does it display the "user-menu"?

mcfilms’s picture

Hi bendiy -- thanks for posting back to this issue. I'm just going to add to this thread as I try things. Maybe I am not understanding how this works. Obviously other people are enjoying Profile 2.

Originally my Profile 2 was set be " Contestant (applicant)". This produced a Menu Item in the User menu called My Contestant (applicant) and linked to site.com/profile-contestant_applicant_. But this link (from the menu interface at admin/structure/menu/manage/user-menu) did not work. So I created another, thinking the problem may be with the special characters.

This one, called "Third Try" Just reveals the home page URL when I roll over the link in admin/structure/menu/manage/user-menu page. However, if I display the User Menu block in a page, it does link to site.com/profile-apply/##/edit where ## is the uid number.

"Hoooooray," I thought. But my victory was short lived. My long term goal is to actually link to that user's page from an HTML field. Drupal has various modules to make internal links available. The most popular may be CKeditor Links. But when I try and link to the "Third Try" menu item, it cannot be found in the menu tree.

So I guess I should retract my earlier statement. Profile 2 CAN integrate with the menu system. But occasionally it doesn't "take" and the availability of the menu item may not be shared with the rest of the Drupal system.

mcfilms’s picture

By the way as a side note, if you delete Profiles from admin/structure/profiles they are removed from the list. However they remain on the User menu at admin/structure/menu/manage/user-menu. And since the reference has been removed the menu item no longer has a "Delete" link next to it. I can test this again and open a new bug report issue for this if you want.