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 have multiple profile types. In this scenario, one is collecting a first name, and another is collecting a photo, and position. I tried to create a table for a staff list with the following settings
but it separates the profile types onto separate lines, so that a person's name is on a separate line from their photo and position.
The photo on top is Kelly, and the photo on bottom is Connie. How can I get all of the information to show on the same line?
Comment | File | Size | Author |
---|---|---|---|
#8 | d7viewsprofile2-1.png | 20.26 KB | Shieeet |
#8 | d7viewsprofile2-2.png | 33.22 KB | Shieeet |
#8 | d7viewsprofile2-3.png | 19.61 KB | Shieeet |
#8 | d7viewsprofile2-4.png | 22.83 KB | Shieeet |
Screen Shot 2011-12-19 at 4.00.13 PM.png | 73.53 KB | bjlewis2 |
Comments
Comment #1
Shieeet CreditAttribution: Shieeet commentedDid you solve the issue?
Comment #2
bjlewis2 CreditAttribution: bjlewis2 commentedhaven't figured anything out yet. no.
Comment #3
joachim CreditAttribution: joachim commentedMake your view list users. Add two relationships, one to each profile type.
PS. could either of you please consider adding this to the documentation pages for this module, it comes up really frequently!
Comment #5
rhlb91 CreditAttribution: rhlb91 commentedhi i have the same issue .
can anybody explain me with example ,how to do this.very important
Comment #6
rhlb91 CreditAttribution: rhlb91 commentedComment #7
rhlb91 CreditAttribution: rhlb91 commentedcan anyone explain with example
Comment #8
Shieeet CreditAttribution: Shieeet commentedOne comment will suffice.
1. Create a new view based listing users.
2. Expand Advanced and click Add under Relationships. Select User: Profile.
3. This step is optional. I chose to limit the results to users with the desired profile type.
4. Add fields as normal. Note the selected relationship.
Comment #9
rhlb91 CreditAttribution: rhlb91 commentedthanks a lot shieeet