mediadreams/md_news_clickcount

With this TYPO3 extension you are able to count views of ext:news records. You can display a list with most viewed news and delete the statistics automatically with a scheduler task.

Installs: 1 702

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v2.0.1 2022-09-27 19:24 UTC

This package is auto-updated.

Last update: 2023-05-27 21:09:00 UTC


README

With this extension you are able, to count views/clicks of ext:news-records. Additionally it integrates a new option in the plugin of ext:news to show records ordered by views. On top there is a scheduler task for automatically reset all counts.

Requirements

  • TYPO3 >= 11.4
  • ext:news >= 9.2

Installation

  • Install the extension by using the extension manager or use composer (composer req mediadreams/md_news_clickcount)
  • Include the static TypoScript of the extension

Usage

Count views

  • Include <f:cObject typoscriptObjectPath="lib.newsIncreaseCount"/> in the news detail view template

Show most read news

  • Insert the plugin News system of ext:news on a page
  • In Settings tab select List view (without overloading detail view) in the What to display dropdown
  • Select Views in the Sort by dropdown
  • Select a Sort direction (Descending will show the most viewed articles first)
  • Save and close

Clear views

  • Add a scheduler task of type Execute console commands
  • Select mdNewsClickcount:clearViewsCommand in Schedulable Command dropdown

Bugs and Known Issues

If you find a bug, it would be nice if you add an issue on Github.

THANKS

Thanks a lot to all who make this outstanding TYPO3 project possible!

Credits