Topic: Showing most viewed articles

I am trying to include my most viewed articles, can not get it to work...

$sort = array('views', 'DESC');
include('../cms/show_news.php');

doesn't work for me

Re: Showing most viewed articles

At the moment the functionality is not implemented. To sort articles you should take the following steps:
Sorting parameters should be set as

  $sortby = 'title';  // title, tg, author supported yet
  $dir = 'D';         // D - desc, A - asc
  include 'content/show_news.php';

  The functionality is prepared for the release and it will be rolled out with the next release. Also, the new sorting type will be introduced:vcnt
  i.e. sorting by the number of views

Best regards,
CN Support team

Re: Showing most viewed articles

When will this be available?

Re: Showing most viewed articles

This functionality was implemented on April, 26 2018.

Best regards,
CN Support team

Re: Showing most viewed articles

How do I sort by number of views, comments and more?