--- "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: > The answer is "no", because pagelist first generates > a list of pages, uses count= to cut the list to the > first ten, and then displays those ten pages using > the pagelist template. > But the template will not display any of the pages > that the visitor cannot edit, thus the number of > pages that gets displayed could be much fewer than > ten -- even zero! > > 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.
While it would be less efficient a simple solution might be to limit the count during the template processing instead by simply not counting any iterations that don't produce any output, -Martin ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
