[pmwiki-users] pagelist format templates and page variables
Patrick R. Michaud
pmichaud at pobox.com
Sun Feb 19 12:57:51 CST 2006
On Sun, Feb 19, 2006 at 06:49:19PM +0000, Hans wrote:
> I try to find the right syntax for a pagelist format template
> to include a page variable:
> My main blog list template got this link in it:
>
> [[BlogComments.{=$Name}|See Comments]]
>
> which works fine. Now I like to add the number of comments posted,
> using a {$PostCount} page variable, which counts the number sof
> comments on the respective comments page BlogComments.{=$Name}
>
> Is this possible, having already a page variable as the page name?
> Something like (but this does not work):
>
> BlogComments.{=$Name}{=$PostCount}
Why isn't it just {=$PostCount}? The '=' is supposed to indicate
that {$PostCount} is to be applied to the current page in the pagelist.
Pm
More information about the pmwiki-users
mailing list