[pmwiki-users] pagelist format templates and page variables

Patrick R. Michaud pmichaud at pobox.com
Sun Feb 19 13:34:27 CST 2006


On Sun, Feb 19, 2006 at 07:29:12PM +0000, Hans wrote:
> Sunday, February 19, 2006, 6:57:51 PM, Patrick wrote:
> > Why isn't it just {=$PostCount}?  The '=' is supposed to indicate
> > that {$PostCount} is to be applied to the current page in the pagelist.
> 
> Because the pagelist lists pages from group BlogPages, but the
> comments are on associated pages in group BlogComments. The blog page
> and the associated comment page got the same name.

Is {$PostCount} smart enough to know that it should be reading
from BlogComments, or is it just working on whatever page it has?

Another possibility:

   {BlogComments.{=$Name}$PostCount}

Ugly, but it might work.

Pm




More information about the pmwiki-users mailing list