Hi, I was looking for a solution to display the number of impressions directly in the article's content.

The Basic Statistics module adds a count for all content types - the base page, the articles, and my own created content types.

however, I need to display the visible number only for the articles page, for the basic page and others do not want the number to be displayed to users in the article content.

I thought this module would be a solution, but I do not know how to work with it.

Will anyone help you or do you have the idea for another solution?

I do not want to display the article in a block, I want to list the number directly into the content of each article.

Thank you

Comments

smiesek created an issue. See original summary.

adci_contributor’s picture

Hi, smiesek!

This module is integrated with Views module.
Go to admin/config/content/nodeviewcount. Select node types and user roles for which to count node view.
After that, go to admin/config/content/node-views-count-statistics to find general statistics.
Also you can add a field with a counter to any view.

You can't add this field into the content of article from the site. But you can try display views count by PHP.
View this issue https://www.drupal.org/node/2658278.

I hope it will be useful to you.

adci_contributor’s picture

Status: Active » Closed (works as designed)