On Fri, Feb 13, 2009 at 04:06:02PM +0000, Hans wrote:
> Friday, February 13, 2009, 3:39:41 PM, Patrick wrote:
> 
> > FWIW, if I were creating a dynamic link navigation such as
> > this I would use a special markup and not try to make a pagelist
> > template do the work.
> 
> I agree. I have been doing it that way. But the function constructing
> the navigation links will need to know how big the pagelist is, and
> for that it has to call pagelist. so we running it twice:
> for the dynamic nav links and for the actual formatted output.
> 
> The question if this double call can be avoided was my original query.

To be more specific, I would use the special markup from
_within_ the pagelist template.  Then the page count would be
(and other pagelist items) would be easily available.

Pm

_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to