Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.12
Component:
profile data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2011 at 15:43 UTC
Updated:
10 Aug 2011 at 08:42 UTC
I have created a views page to use instead of profile page. I simply added User Profile fields for "First name" and "Last name" but what is displaying to me is the First name and Last name of the User 1/Admin.
I tried to log on with other users to see the page but the information was still the same.
I did not set any filtering or argument for this page.
Is this a bug or Views Module could not access users data per users?
Any idea appreciated?
Comments
Comment #1
merlinofchaos commentedYou didn't provide a view export, so it's difficult to be sure.
However, the vast majority of the time people file this bug, it's because they have a 'node' view, not a 'user' view, and it's pulling up a listing of nodes. Therefore, it is returning profile data from the node author.
Comment #3
holydrupal commentedSorry for my absent, a lot happened during two last weeks.
Here is the export:
You mean it is impossible with Views module to display Users profile information?
Comment #4
merlinofchaos commentedAs I said in #1:
Your export confirms that this is, in fact, a 'node' view.
$view->base_table = 'node';You need to create a new view, this time selecting 'user' on the first screen.
Comment #5
dawehnerSo this issue is fixed.