How to Create a Popular Articles View in Drupal

How to Create a Popular Articles View in Drupal
How to Create a Popular Articles View in Drupal

Many sites want to showcase their most popular content to visitors.

However, creating a “Popular Articles” list in Drupal is harder than it might seem.

In this video, Robert shows you how to use the Statistics module (part of the Drupal core) to organize your articles by popularity.

This video is taken from our Advanced Views class.

https://vimeo.com/289904073

Author

  • Steve Burge

    Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.

0 0 votes
Article Rating
Subscribe
Notify of
3 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Reg
Reg
4 years ago

It seems that in Drupal >=8.6, there is no need to create a View to show a block of ‘Most Popular’ content.  Drupal automatically creates a ‘Popular Content’ block when the core Statistics module is enabled.  

JP
JP
4 years ago
Reply to  Reg

Statistics module is not a very good module. Because the tracking of popular module fires php each time when a page is visited varnish is not used and can cause a longer page load time.

priyanka
priyanka
2 years ago

Thanks for sharing such a great Information!

3
0
Would love your thoughts, please comment.x
()
x