[pmwiki-users] PAGELIST / Math / summatory

Hans design5 at softflow.co.uk
Fri Sep 4 09:58:20 CDT 2009


Friday, September 4, 2009, 3:17:33 PM, edwin marte wrote:

> {(sumdata (pagelist group=Cases -Main -GroupFooter -RecentChanges
> $:Dept="Some Department"  $:Month={$:MthSel}) data=ValueCount)}

It is not very efficient to use PTVs as page filters in the pagelist
markup: pagelist has to read every page in the group
to check for PTVs. This information does not get cached.
It would be a lot better to organise your pages using page names
relevant to the various departments and months.
Perhaps using a quasi-hierarchy as is possible with
http://www.pmwiki.org/wiki/Cookbook/Cluster


  ~Hans




More information about the pmwiki-users mailing list