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.
By smatron on
Hi, I have created a view which show's all the content created by different author's on the site, i don't want to show all the content created by a single user, i only want to show a single content and his author.
For example
Change example 1 to example 2
Example 1
Content1 by alex
Content2 by alex
Content3 by alex
Content4 by alex
Content5 by bob
Content6 by bob
Content7 by bob
To
Example 2
Content1 by alex
Content5 by bob
"Thank you"
Comments
Start by creating a view that
Start by creating a view that lists users (not content), configured to show as fields.
Under "Advanced" add a "Relationship" on "User: Representative node", I made the relationship required so it will only show users with content.
Under "Fields" add "Content: Title", configure to use the relationship.
And any other fields you want.
Thanks it Worked.
Thanks it Worked.