putyourlightson / craft-entry-count

Counts and displays the number of times that an entry has been viewed in Craft CMS.
MIT License
47 stars 19 forks source link

Added support for multipe counters on the same entry #23

Closed arifje closed 3 years ago

arifje commented 5 years ago

Added an (optional) key to the counter so you can track multiple counters on the same entry id.

Example:

{% do craft.entryCount.increment( entry.id, 'article-frontpage' ) %} {% do craft.entryCount.increment( entry.id, 'article' ) %}

{% do craft.entryCount.increment( entry.id ) %}

arifje commented 4 years ago

Any chance this PR gets merged soon? :-)

arifje commented 3 years ago

Any update on this one? 🤣

bencroker commented 3 years ago

Hi @arifje, thanks for the PR! While this is a great feature, this plugin is specifically for educational purposes. If you need new features then please use your fork or consider contributing to the View Count plugin which is commercially supported.