<div class="gmail_quote">On Thu, Feb 12, 2009 at 10:01 PM, Patrick R. Michaud <span dir="ltr"><<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Feb 12, 2009 at 09:41:30PM +0100, Peter Bowers wrote:<br>
><br>
> I looked at this once before and came to the conclusion that either (a) you<br>
> have to call pagelist twice or (b) you have to copy FPLTemplate() and make some<br>
> alterations. (This could be done as a recipe since $FPLFormatOpt holds this<br>
> function name.)<br>
<br>
</div>...or, if I'm wrong and it's not really possible to get to the matchcount<br>
easily, you can propose modifications to FPLTemplate() for the core. :-)</blockquote><div><br>I think all that's needed is this line:<br><br>$FmtV['$AllMatchCount'] = count($matches);<br><br>But this must occur *before* $opt['count'] processing.<br>
<br>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...<br><br>-Peter <br></div></div>