It is documented at

http://doc.jspwiki.org/2.4/wiki/Counter

A typical example would be e.g. in the Finnish Go-wiki: a registration list for a tournament. Might be good to amend this usage to the documentation.

http://www.suomigo.net/wiki/Kev%C3% A4tKoittaaNilkilleIlmoittautuminen2008

/Janne

On 5 Apr 2008, at 18:50, Florian Holeczek wrote:
Oops, I see...
Well, I'll document this in the wiki. Guess I'm not the first one
who's confused about this.
Could you please provide a common use case for this, as an example?

 Florian

Ursprüngliche Nachricht vom 05.04.2008 um 17:42:

Counter works inside the page.   The first instance on the page shows
"1", the next instance "2", the next instance "3".

For example, put the following on a page:

* [{Counter}]
* [{Counter}]
* [{Counter}]
* [{Counter}]
* [{Counter}]

Nothing to do with counting page hits.

/Janne

On 5 Apr 2008, at 18:25, Florian Holeczek wrote:
Hi there,

I'm using JSPWiki v2.7.0-svn-5 and have just tried out the Counter
plugin. However, it keeps displaying "1", no matter how often I reload
the page, open a new session, switch browsers...
I'm inserting it with [{Counter}] which should increase by 1.
I've also tried [{Counter increment=1}], but no change.
What's the matter?

Regards,
 Florian


Reply via email to