[pmwiki-users] Fwd: group conditional...

The Editor editor at fast.st
Fri Mar 23 09:17:08 CDT 2007


Yes but in this situation, it fails.  Or rather it returns true for
group Comments-Test.  Evidently this does not work in a template?

(:markup:)[=
(:pagelist group=Comments-* fmt=#test:)
=]

>>comment<<
[[#test]]
(:if group Comments-Snippets*:)
*Yes: [[{=$FullName}]]
(:else:)
*No:  [[{=$FullName}]]
(:if:)
[[#testend]]
>><<

see http://www.pmwiki.org/wiki/Comments-Snippets/Page1

Cheers,
Dan

PS.  I found a work around thanks to Hg, but still just curious...



More information about the pmwiki-users mailing list