On Thu, Feb 12, 2009 at 10:01 PM, Patrick R. Michaud <pmich...@pobox.com>wrote:
> On Thu, Feb 12, 2009 at 09:41:30PM +0100, Peter Bowers wrote: > > > > I looked at this once before and came to the conclusion that either (a) > you > > have to call pagelist twice or (b) you have to copy FPLTemplate() and > make some > > alterations. (This could be done as a recipe since $FPLFormatOpt holds > this > > function name.) > > ...or, if I'm wrong and it's not really possible to get to the matchcount > easily, you can propose modifications to FPLTemplate() for the core. :-) I think all that's needed is this line: $FmtV['$AllMatchCount'] = count($matches); But this must occur *before* $opt['count'] processing. We already have a $MatchCount, but it respects the count=21..40, thus making it impossible to use to print a list of upcoming pages... -Peter
_______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel