[pmwiki-users] Pagelist Newlines and Trailing Commas

Scott Connard connard at dsg-inc.com
Sun May 20 10:23:03 CDT 2007


Dave,

Since pagelist output is a self-contained block, you need to include  
the Group output inside the template.  Using the latest beta version  
of PmWiki, the following works for me:

(:pagelist group={$Group} trail=Site.AllRecentChanges count=7  
list=normal fmt=#MRU_Group:)

[#MRU_Group]]
(:template first:)
[[{$Group}/{$DefaultName} | {$Groupspaced}]]:
(:template each:)
(:if ! equal {>$FullName} .:)
[[{=$FullName}|+]],
(:else:)
[[{=$FullName}|+]]
(:ifend:)
[[#MRU_Groupend]]

Hope this helps,
Scott Connard.




More information about the pmwiki-users mailing list