[pmwiki-users] pagelist format templates and page variables

Hans design at softflow.co.uk
Mon Feb 20 02:52:32 CST 2006


Monday, February 20, 2006, 2:34:08 AM, Patrick wrote:
> It might need to be

>     $FmtPV['$PostCount'] = 'StringCount($pn,">>messagehead<<")';

> I'd be the first to admit that this is probably confusing and
> ought to be changed to use $pagename instead of $pn.  (I'm not sure
> how I ended up with that.)

You are right. It works now fine! Not that I understand it....
And it works fine in the pagelist format template as well, in the
extended form {BlogComments.{=$Name}$PostCount}

Thank you so much!

I updated the commentboxstyled.php script accordingly.

Best, 
~Hans                           





More information about the pmwiki-users mailing list