Page Hit Counter | Extras
View Page Hit Counter
This Adittion shows the user counted with Page Hit Counter.
Just add [[ViewCountPageHit]] to your page to show the counted users.
If you want to show the counts of a special ID (for example to use it with Ditto ...) Use this: [[ViewCountPageHit? &id=`[+id+]` &pre=`(` &past=` users have visited)`]]
Example:
(5 users have visited)
* FIXED - If you insert this to a document where no users are counted it will display "1".
If the ModX-Parameter "donthit" is set for this document it will show nothing...
Parameters:
&id = ID of the counted document (default: $modx->documentIdentifier)
&pre = Text before the Counter (default: "")
&past = Text after the counter (default: "")
Submitted: May 7th 2008 | License: Creative Commons | Downloads: 185