[pmwiki-users] Fwd: Test the existence of a (ZAP) variable in a specific page

The Editor editor at fast.st
Tue Jul 31 15:47:16 CDT 2007


On 7/25/07, Benoit Dutilleul <benoit.dutilleul at googlemail.com> wrote:
> How can I test the existence of a (ZAP) variable in a page?
> Kind regards,
>
> Benoit


Hi Benoit!

You could try something like (:if ! equal "{Group.Page$:field}" "":).
It will check that at least it doesn't have an empty value if it does
exist. There may be a smarter way to do it, but hopefully this will
help.

Remember, ZAP variables are just normal PmWiki PTV's.

Cheers,
Dan



More information about the pmwiki-users mailing list