Generate a list of threads and comments for a forum:

[[#thread]]
(:if equal {<$Group}:)
||border=1 bordercolor=silver cellpadding=2 cellspacing=1 class=thread
||! '-Thread-'||!'-Author-' ||!'-Last modified-' ||!'-Comments-' ||!'-Latest comment-' ||(:if:)
|| '-[[{=$FullName} | {=$LastModifiedSummary}]]-'||'-[[~{=$LastModifiedBy}]]-' ||'-{=$LastModified}-' ||'-[[{=$Group}Comment.{=$Name}?action=browse | {{=$Group}Comment.{=$Name}$PostCountText}]]-' ||'-(:if exists {{=$Group}Comment.{=$Name} :){{=$Group}Comment.{=$Name}$LastModified}(:else:)&nbsp;(:ifend:)-' ||
[[#threadend]]

Generate a list of forum pages, extracting the suffix

[[#forum]]
* [[{=$FullName} | {(substr "{=$Title}" (strlen "{$Title}-"))}]]: {=$LastModifiedSummary}
[[#forumend]]

PmWiki

pmwiki.org

edit SideBar

Page last modified on 12 February 2009 at 09:08 AM