I'm using Drupal 7.12 and Views 3.3, and I want to create a Views block to put on a page, to show the current logged in user info they added to a set of custom profile fields. I have the fields created. Views is the problem.
I was able to create a Views block that shows the contents of the profile fields, but it makes a list of: 1 block of data for each user who has entered any data in these fields, and shows it to everyone. I only want it to show the current logged in user their own data.
I found a few mentions of adding a filter for "User: Current", but I don't have this option for this block. Then I found this item here:
Drupal 7 Views 3 user:current filter is missing?
Saying that I need to first add a relationship of "Content: Author", then I can add the "User: Current" filter. I wasn't able to do this either.
So, I decided to create a new Views block and see if I could figure out why these options aren't available to me. When creating a new Views block, one of the first things you do is select what to "Show", and there is a "Content" option, and there is a "Profile" option (and several others), but there is no way to select more than one option here. In the first Views block I created before I had selected "Profile" for content to show, and this removes all options in relation to content or anything else, this is why I can't make a relationship of "Content: Author". I'm not dealing with nodes of content. When I created my second Views block to test this, I selected "Show: Content", and I was able to create the "Content: Author" relationship, and then I was able to add the "User: Current" filter. But in this Views block I have no way to display profile field info.
Any help here will be very greatly appreciated!
5/2/12: Adding info on Filter and Relationship setting available to me on the "Profile" based Views block.
Filter options:
*Profile: Date changed - The date the profile was most recently updated.
*Profile: Date created - The date the profile was created.
*Profile: Label - The profile label.
*Profile: Location (field_location_us) - Appears in: profile2:main.
*Profile: Primary Issue (field_issue_area_primary) - Appears in: profile2:main.
*Profile: Profile ID - The unique ID of the profile.
*Profile: Total Operational Budget (field_total_op_budget) - Appears in: profile2:main.
*Profile: Total Org Staff (field_total_staff) - Appears in: profile2:main.
*Profile: Total Tech Staff (field_staff_tech) - Appears in: profile2:main.
*Profile: Total Technology/IT Budget: (field_budget_tech_total) - Appears in: profile2:main.
*Profile: Type - The profile type.
*Profile: User uid - The owner of the profile.
Add Relationships options:
*Profile: Type - The profile type.
*Profile: User uid - The owner of the profile.
That last item in both lists (Profile: User uid) seems like an obvious choice, but when I try it, from either list, my Views block shows no info at all, even though I do have information filled in. In fact every filter and/or relationship setting I've tried so far results in an empty Views block. I'm sure there's something I'm missing.