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 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.
View all posts
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.
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.
Thanks for sharing such a great Information!