I saw a few similar support requests, but none of their solutions worked for me.
On my user pages, there is already an "Edit" tab, with "User Profile" and "Account Settings" for sub-tabs.
If I go to Site Configuration -> Advanced Profile and check "User Profile" under "Select Types to Add Edit Tabs For," it adds an "Edit User Profile" tab. I don't want this (because there's already the Edit -> User Profile tabs described above), so I uncheck it. But then, there's an "Edit" tab in its place. When I click it, it goes to the "Create Content" page. How do I get rid of this "Edit" tab? It goes away when I turn off "Node profile helper," but then the node profiles don't show up on the user pages.
I really appreciate any help! Thanks!
Comments
Comment #1
michelleOk, it sounds like there's a bug in there when you enable and then disable a tab. That's not something I tested. I don't have a test site set up with nodeprofile right now since I use bio on my own sites. Will look at it soon as I can.
Michelle
Comment #2
kvcrawford commentedSo it's not my fault? Haha, I thought I did something wrong. This is my first stab at Drupal, so everything is a big learning process right now...
I could give you access to my test site if you'd like. I used nodeprofile because it seemed it might be better suited for what I need to do (I'm making a dating website, and need user profiles with image galleries, front-end can be seen at http://kevinvancrawford.com/winggirl/kevincrawford.html). Would bio work for a profile like this? It seems like its implementation might be easier.
Comment #3
michelleYou only need nodeprofile if you want multiple profile nodes per user. Otherwise bio works fine. Thanks for the site access offer but I need to set up a test site where I can get at the code to debug it. Just not sure when I can, sorry, I'm pretty bogged down in advforum right now and also need to get back to a client site that's been neglected lately.
Michelle
Comment #4
aterchin commentedFixed the extra tabs issue by going to Advanced profile settings page at admin/settings/advanced-profile and unchecking any and every 'type' you've selected to add tabs for. Save, then recheck them and your tabs are back to normal.
http://drupal.org/node/253755
Sounds like youre having the same problem I was. Let me know if that works.
Comment #5
michelleSetting this to needs more info waiting on a response to #4
Michelle
Comment #6
kvcrawford commentedHey Michelle, the solution in post #4 doesn't do anything. The only type I have in that list is "User Profile," and when it's unchecked, an "Edit" tab is added that links to the content creation page. When it's checked, that "Edit" tab changes to "Edit User Profile," and it links to a page where they can edit their user profile.
Do you think I would be able to use bio instead? My original thinking was that the profile should be 1 node, and the user image galleries should be another node, and the two nodes should be displayed on the user pages with panels.
Thanks!
Comment #7
michelleSetting this back to active. Just cleaning up the queue right now. No time for the hard ones, sorry.
Michelle
Comment #8
Johnny vd Laar commentedok I ran into the same problem
I've set two contenttypes as node profile types but have only 1 checked in the admin/settings/advanced-profile page (uprofile)
the nodeprofile_helper.module has this on line 11:
$typenames = variable_get('advanced_profile_typenames','');
printing out the $typenames variable returned this:
Array ( [uprofile] => uprofile [page] => 0 )
so i've added this on line 17:
if($typename === 0) continue;
and now all works fine
Comment #9
michelleI can't reproduce this. I have a test site set up with node profile and I started with the uprofile type that comes with advprofile and had that working fine. Then I added another type "alt-profile" and set that as a nodeprofile type but did not check that on the advprofile settings page. My tabs look just fine.
Could someone with this issue lay out the steps to reproduce this on a clean install, please?
Michelle
Comment #10
michelle10 days and no response. Going to consider this fixed.
Michelle
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.