[pmwiki-users] forum got killed by latest release- due to new pagelist.php

Patrick R. Michaud pmichaud at pobox.com
Sat Sep 30 09:54:33 CDT 2006


On Sat, Sep 30, 2006 at 04:06:21PM +0200, Jean DEMARTINI wrote:
> My apologies for many useless requests. I have read cookbook and the 
> comments in the forumstyle.php file. 

They haven't been useless; I just haven't had a good chance to figure
out why simpleform was having trouble with 2.2.0-beta.  However,
I think I know what the problem is now, so I may have it fixed
for 2.2.0-beta8.

Sorry for the delay,

> I have then discovered that the 
> "problem" can be very elegantly solved by:
> - defining a Site.LocalTemplates page
> - putting in that page the following content:
> 
> [[#forum]]
> (:if equal {<$Group}:)
> (:table class=forum width=100% cellpadding=0 cellspacing=0:)
> (:cell class=messagehead :)'''Topic'''
> (:cell class=messagehead :)'''Posts'''
> (:cell class=messagehead :)'''Last Posted'''
> (:cell class=messagehead :)'''By''' (:if:)
> (:cellnr class=messageitem :)[[{=$FullName}|+]]
> (:cell class=messageitem :){=$PostCount}
> (:cell class=messageitem :){=$LastModified}
> (:cell class=messageitem :){=$LastModifiedBy}
> (:if equal {>$Group}:)
> (:tableend:)(:if:)
> [[#forumend]]

This is indeed a very nice solution.  It also has the advantage
of allowing easier customization of the forum output.

Thanks,

Pm




More information about the pmwiki-users mailing list