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

View Page Hit Counter

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
5 vote(s).

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)

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: 64

Description

...

Instructions

You only have to create a Snippet and insert the whole content of the TXT-File you can download here...

Than insert the command in the page you want ...


( back to top )