[pmwiki-users] exists condition with wildcards
Hans
design5 at softflow.co.uk
Wed Feb 27 12:24:06 CST 2008
Wednesday, February 27, 2008, 6:07:22 PM, noskule wrote:
> is there a way to get something similar than this:
> (:if exists {*$FullName}-Issue-* :)
> it seams the exists cond. dont support wildcard
you could try installing PowerTools
and then try this:
(:if !equal {(plist {*$FullName}-Issue-*)} '':)
which should check if the wildcard pagelist is empty or not.
plist accepts wiki wildcards, and produces a comma separated list of
pagenames.
This is not tested.
~Hans
More information about the pmwiki-users
mailing list