[pmwiki-users] $PageCount broken in beta46

Patrick R. Michaud pmichaud at pobox.com
Sat May 19 20:43:52 CDT 2007


On Sat, May 19, 2007 at 08:21:17PM -0500, Glenn Blalock wrote:
> I just upgraded to beta46 and installed pmform.php.
> 
> Now my use of {$PageCount} no longer works.  
> 
> Any ideas?

It's now {$$PageCount} instead of {$PageCount}.  

The purpose of the extra '$' is to distinguish variables 
that are part of templates and get "immediate" substitution
with a template value.  In this case, since we're using the
template to count the number of pages displayed thus far,
it's {$$PageCount} instead of {$PageCount}.

Pm



More information about the pmwiki-users mailing list