On Fri, Feb 13, 2009 at 07:58:57AM +0100, Peter Bowers wrote: > Hans wrote: > > Thursday, February 12, 2009, 9:01:09 PM, Patrick wrote: > > > >> ...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. > :-) > > > > okay, I can't get it to work unless there are some changes. > > Here is a code proposal. It introduces a PV $PageListCount, > > which works great in a pagelist template to show the total number of > > items. > Doesn't {$PageCount} already do this? > > > As I understand $PageCount it is a "pseudo variable" available only during > actual processing of a pagelist. If you want to access it afterwards to print > a list of available pages you will find it is blank...
I don't understand "access it afterwards"... how would one access {$PageListCount} "after a pagelist"? Page variable substitutions always take place _before_ pagelists are processed. Pm _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel