[pmwiki-users] pagelist fmt=count as pagevar

Hans design5 at softflow.co.uk
Thu Feb 7 12:17:58 CST 2008


Thursday, February 7, 2008, 4:44:58 PM, noskule wrote:

>> {(pagecount (pagelist group={*$Group} $:pagetype=Blog))}
>> 
>> 
>>   ~Hans
>> 
> oky I checked that, but if I use ptv's I get allways the result 1

one hack would be this, using a string rather than a PTV:

{(pagecount (pagelist group={*$Group} 'pagetype: Blog'))}

but it is crucial to have the exact string to look for, including the
spaces


  ~Hans




More information about the pmwiki-users mailing list