Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Drupal 7/display author name with total number of posts

Oct 28, 2013 by DruNew
Hi all,
I have created a new view in my Drupal website using table settings. I want to show the author name and the total post numbers of posts that the user created. I was able to use relations to show the author name but there are no fields related to the total number of posts. Does anyone have any suggestions how to do this?
Any suggestions are welcome

1 Answer

0 votes
Oct 28, 2013 by RalphK
Try enabling your view’s aggregation and set the group by for the field Content:nid to Count. Go to admin->structure->views->view->view_name. Go to the Advanced tab and under others select  Use Aggregation option