[pmwiki-users] Knowing the count of pagelist before display

Martin Fick mogulguy at yahoo.com
Wed Nov 15 19:45:02 CST 2006


--- Martin Fick <mogulguy at yahoo.com> wrote:

> Another way to do it is like this with compound ifs
> and by sorting by Director which the docs say that
> you
> can do:
> 
> (:pagelist group=Members order=Director dir=John
> fmt=#memberperdirector:)
> 
Sorry, this time I left out the supervises line:

 [[#memberperdirector]]
 (:if expr equal {{=$FullName}$:Director} {$$dir} &&
equal ! {{=$FullName}$:Director}
{{<$FullName}$:Director}  :)
Supervises:
 (:if equal {{=$FullName}$:Director} {$$dir} :)
 '''[[{{=$FullName}$:Page} |
 {{=$FullName}$:Name}]]'''\\
 (:ifend:)
 [[#memberperdirectorend]]

-Martin


 
____________________________________________________________________________________
Sponsored Link

Rates near historic lows - 
$200,000 mortgage for $660/ month - 
http://yahoo.ratemarketplace.com




More information about the pmwiki-users mailing list