[pmwiki-users] pagelist fmt=count as pagevar

noskule noskule at gmx.net
Mon Feb 4 13:50:02 CST 2008


Hans schrieb:
> Monday, February 4, 2008, 5:56:26 PM, noskule wrote:
> 
>> is it somehow possible to get the pagelist count as a pagevar.
> 
> AFAIK there is not.
> 
> For your information you may try a new recipe i just uploaded:
> http://www.pmwiki.org/wiki/Cookbook/PowerTools
> 
> This adds a few markup expressions which can be used on multiple pages
> (page lists).
> For instance
> 
>    {(pagecount (plist PmWiki.*))}
>    
> returns the number of pages in the PmWiki group.

hm, this seams not to work, cause I use pagetextvar args
    group={*$Group} $:pagetype=Blog ....

is there another way?

> 
> Markup expression plist accepts as parameters wiki wildcard page
> names. Any with a minus prefix will be excluded. The code in that
> function is the same I used for generating the pagelist for TextExtract.
> 
> 
>   ~Hans
> 




More information about the pmwiki-users mailing list