[pmwiki-users] Recipe Page Counter does not work in latest beta

Peter Brink peter.brink at brinkdata.se
Tue Jan 17 04:05:45 CST 2006


tisdag 17 januari 2006 09:28 skrev Jean DEMARTINI:
> In the file totalcounter.php of the TotalCounter recipe the markups
> giving access to the variables $PageCount and $TotalCount have to be
> modified such as:
>
> Markup('{$PageCount}','<{$var}','/\\{\\$PageCount\\}/e',$PageCount);
> Markup('{$TotalCount}','<{$var}','/\\{\\$TotalCount\\}/e',$TotalCount);
>
> I have tried to overload the markups in the config.php file and that
> does not funtions. It is possible that there is a similar problem in the
> SimpleCounter recipe.
>
> Hope this help.
> JDem

Thanks!! That did help!

I've checked SimpleCounter and it used the same markup for $PageCount, so you 
fixed two scripts at the same time. :-)

/Peter Brink





More information about the pmwiki-users mailing list