Patrick R. Michaud wrote: > So, because it's possible to use (:if:) directives to > suppress the display of certain pages in the list, we don't > know exactly how many pages are displayed, nor are we certain > of the exact "count" to use for the next block of pages. > > If we ignore the possibility of some pages not being > displayed by (:if:), the problem does become much simpler.
And would that not be a reasonable approach: ignoring the possibility of some pages not being displayed by (:if:) in a template, and rather promoting the use of if= in the pagelist, as Pm says it is in any case far more efficient. If people will not use conditionals in templates and use them in the pagelist, we should get accurate results. And there should be relative little need to use (:if ...:) in templates. So in order to get a working count I am quite prepared to hear that using conditionals in the template may muck up the count, and please use the conditional in the pagelist instead. ~Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
