[pmwiki-users] if exists conditional markup problem
Dominique Faure
dominique.faure at gmail.com
Thu Apr 2 00:49:15 CDT 2015
Hi,
This comes simply because the space between ftime and "%Y%m" is seen
as a separator when evaluation the condition.
You should try enclosing your expression with quotes:
(:if exists ’Profile-Data.{Members/Hosts$:{(ftime "%Y%m")}}’ :)
-D-
On Wed, Apr 1, 2015 at 1:07 PM, Criss Ittermann <crisses at kinhost.org> wrote:
> I'm trying to figure out why this is returning false ("To be announced."):
>
> (:if exists Profile-Data.{Members/Hosts$:{(ftime "%Y%m")}} :)
> ...
> (:else:)
> To be announced.
> (:ifend:)
>
>
> When the following returns a fully functioning link to the correct page,
> which exists:
>
> [[Profile-Data.{Members/Hosts$:{(ftime "%Y%m")}}]]
>
>
> What am I doing wrong?
>
> Crisses
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
--
Dominique
More information about the pmwiki-users
mailing list