[pmwiki-users] How to to use a page count in a conditional

Randy Brown randy at brownragfilms.com
Sat Mar 28 01:27:44 CDT 2009


I'd like to test whether a pagelist will yield results. If I use this  
markup:

"(:pagelist group=null fmt=count:)"
(:if equal "(:pagelist group=null fmt=count:)" "0":)
This pagelist has zero results.
(:ifend;)

only "0" displays, not "This pagelist has zero results."

Is there a way to use a page count in a conditional?

Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090328/e856fa95/attachment.html 


More information about the pmwiki-users mailing list