[pmwiki-users] count pages (guess in zap)

noskule noskule at gmx.net
Mon Apr 30 13:34:50 CDT 2007


Patrick R. Michaud schrieb:
> On Mon, Apr 30, 2007 at 07:59:13PM +0200, noskule wrote:
>   
>> Patrick R. Michaud schrieb:
>>     
>>> On Mon, Apr 30, 2007 at 07:43:23PM +0200, noskule wrote:
>>>       
>>>> I'm searching a way to count pages like count 
>>>> "{*Group}.{*$Name}-Comment-*"? Is there a way to do it. I did see a 
>>>> quiet similar way , guess in zap  ({count {*Group}}) . This counts all 
>>>> pages in a group but so far I tested, it allows no wildcards.
>>>>    
>>>>         
>>> (:pagelist fmt=count name={*$FullName}-Comment-* :)
>>>
>>>       
>> hm, seams I do nothing, do I need the extension?
>>    http://www.pmwiki.org/wiki/Cookbook/PagelistCount
>>     
>
> Oops!  I thought I had added this to the core already, but
> apparently I hadn't.  Yes, in the current version you'll
> need the PagelistCount recipe.  I'll be sure to add fmt=count
> to the next release.
>
> Pm
>   

jep cool, essential thing :-)




More information about the pmwiki-users mailing list