Skip to content

upputter/yellow-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counter 0.1.1

Count page views.

Screenshot of the counter shortcut.

How to install an extension

Download ZIP file and copy it into your system/extensions folder. Learn more about extensions.

How to use the counter shortcut

Use the shortcut [counter] to count AND display the view count of the current page.

Arguments

If you want to count BUT hide the views of a page, use the hidden-argument like [counter hidden] and keep the numbers a secret 🤫.

How to get some statistics

You can simply open the defined counterLogFile in the system/extensions/ (default system/extensions/viewcounter.ini) to get an overview of all counted page views

OR

use the shortcut [counterStats] on a page, to get a simple overview table.

Sort statistics

If you use the [counterStats]-shortcut, you can sort the table columns by cllicking on the according column head.
This feature utilises the simple table sorting JavaScript and appends it right onto the page HTML.

Settings

You can configure the following settings in the file system/extensions/yellow-system.ini:

  • counterLogFile: the file for logging all the views in the folder system/extensions/; default is viewcounter.ini
  • counterMessageTemplate: Text template for the counter; use @counter as placeholder

About

Count page views.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages