Downloads » Resources » Page Hit Counter » Page Hit Counter | Extras

Page Hit Counter | Extras

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Votes: 0

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: "")

Works with MODx Version(s): 0.9.6
Submitted: May 7th 2008 | License: Creative Commons | Downloads: 185

( back to top )