--- Benoît DUTILLEUL <[EMAIL PROTECTED]>
wrote:

> Is there a way to display the number of results of a
> pagelist query ?

This is not the most efficient way to do this, but you
could make a template like this:

[[#PageCount]]
(:if equal {>$Group}:)
* PageCount: {$$PageCount}
[[#PageCountEnd]]

This will not do anything if the count is zero.  With
the new enhancements which Patrick has proposed this
will eventually look like this:

[[#PageCount]]
(:template last:)
* PageCount: {$$PageCount}
(:template nopages:)
* PageCount: 0
[[#PageCountEnd]]

and be much more efficient too!

-Martin



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to