• MODX.com

    1,301 downloads

Pagehits

Pagehits is an extra by ictlogic, first released on 2012-01-18.

Package Description

Pagehits is a simple visitors counter. It counts users based on IP address.

-------------------- How to use it? -------------------- On your page (or in the template) just add the update hits snippet     [[!updatehits]] You can set the timeout by adding the timeout parameter:     [[!updatehits? &timeout=`3600`]] The Timeout is set in seconds You can also show the hits on a page by using     [[!showhits]] There are 2 parameters available to customize the showhits snippet:     &tpl    (for use of your own template chunk)     &rid    (for showing the hits of an other resource id)     Example: you would like the show the hits of document 3 and use the chunk 'PageHitChunk' as template:     [[!showhits? &tpl=`PageHitChunk` &rid=`3`]]

Usage/Installation Instructions

On your page (or in the template) just add the update hits snippet

    [[!updatehits]] You can set the timeout by adding the timeout parameter:     [[!updatehits? &timeout=`3600`]] The Timeout is set in seconds You can also show the hits on a page by using     [[!showhits]] There are 2 parameters available to customize the showhits snippet:     &tpl    (for use of your own template chunk)     &rid    (for showing the hits of an other resource id)     Example: you would like the show the hits of document 3 and use the chunk 'PageHitChunk' as template:     [[!showhits? &tpl=`PageHitChunk` &rid=`3`]]

Details

Developer(s)
ictlogic
Released
2012-01-23
First seen
2012-01-18
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.2

Pagehits Releases

Vendor Signature Released on
MODX.com 1.0-beta-2 2012-01-23 (7 years ago)
MODX.com 1.0-beta-1 2012-01-23 (7 years ago)