<div class="gmail_quote">On Thu, Feb 12, 2009 at 8:45 PM, Hans <span dir="ltr"><<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</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;">
I wonder how to access $MatchCount from pagelist in php.<br>
I like to come up with a better way to construct ranges for the<br>
pagelist count= parameter (count=from..to) in order to develop a n<br>
efficient breakpagelist (pagelist broken into chunks and custom links<br>
to navigate the subpages).<br>
<br>
Can it be done in one use of pagelist? Do I need to have a pagelist<br>
first to generate a pagelist count, which then can be used to<br>
generate the from..to range ?<br>
</blockquote><div><br>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.)<br>
<br>I'd be happy to be proved wrong if somebody else can come up with a way to do it with the existing functions there in pagelist.php...<br><br>-Peter <br></div></div>