[pmwiki-devel] Storing counts

Hans design5 at softflow.co.uk
Tue Dec 26 09:21:20 CST 2006

Fox http://www.pmwiki.org/wiki/Cookbook/Fox
stores a post counter as a vlue directly in the page file as
This gets increased by one each time Fox adds a new post to
the page. Convenient page variables are derived from it, like
{$FoxCountInc}, which gives foxcount plus one, useful as a number for
the next post.

I wonder if I am breaking some pmwiki convention by adding a new
$page['foxcount'] entry, or is this running into other problems?
Is there a better way to store and increase counts?
If not, would it perhaps be a good way to add for instance a
vote count like $page['vote1'], $page['vote2'] etc


More information about the pmwiki-devel mailing list