[pmwiki-users] Updated to last pmwiki, have an issue with my if variables

StefCT stefct4 at gmail.com
Sun Dec 22 08:28:15 CST 2013

On 12/22/2013 03:04 PM, ABClf wrote:
> (:if !equal "{$:EnLigne}" "":)
> (:if2 name -TitresEnLigne:)
> !!En Ligne
> *{$:EnLigne}
> *[[TitresEnLigne|Tous les titres en ligne]]
> (:if2 end:)
> (:ifend:)
> This used to work (with 2.2.45 if I can remember) yet it does not work
> anymore with pmwiki 2.2.57.

For me this seems to work when I swap the two (:if:) clauses:

(:if name -TitresEnLigne:)
(:if2 ! equal "{$:EnLigne}" "":)
!!En Ligne
*[[TitresEnLigne|Tous les titres en ligne]]

I don't have any explanation for this though.


More information about the pmwiki-users mailing list