noskule <noskule <at> gmx.net> writes:

> 
> hi list
> is it possible to find out via conditional markup if a pagetext variable
> ist set even if is has no value?
> 
> for the ptv {*$:ptv}
> this should result in true:
> (:ptv: :)
> 
> this should result in true to:
> (:ptv: 123:)
> 
> if there is no ptv it I should get false.
> 
> thanks for any hints
> nos
> 


The following appears to work for me
(:ptv:1:)
(:if equal {$:ptv} -:)True(:ifend:)
(:if ! equal {$:ptv} -:)False(:ifend:)

Dave C


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to