Well, thank you both Stef and Peter for your quick answers ; correcting "if2 end" in "if2end" was not enough. Working code is the last one suggested by Stef (first one didnt not work either) :
(:if [ name -TitresEnLigne and ! equal "{$:EnLigne}" "" ]:) !!En Ligne *{$:EnLigne} *[[TitresEnLigne|Tous les titres en ligne]] (:ifend:) Honestly, I dont see the reason why my older code has stopped working ; yet I'm pleased it's fixed now. Many many thanks for your help, Stef. Gilles. Remark : Using gmail, I dont know why I can't "reply to all" when clicking on Peter's message, last of the thread (I have had to "reply to all" on Stef's message and add Peter's address by hand). 2013/12/22 StefCT <stef...@gmail.com> > On 12/22/2013 03:28 PM, StefCT wrote: > > > > For me this seems to work when I swap the two (:if:) clauses: > > > > (:if name -TitresEnLigne:) > > (:if2 ! equal "{$:EnLigne}" "":) > > !!En Ligne > > *{$:EnLigne} > > *[[TitresEnLigne|Tous les titres en ligne]] > > (:if2end:) > > (:ifend:) > > > > I don't have any explanation for this though. > > > > > > Or like this: > > (:if [ name -TitresEnLigne and ! equal "{$:EnLigne}" "" ]:) > !!En Ligne > *{$:EnLigne} > *[[TitresEnLigne|Tous les titres en ligne]] > (:ifend:) > > --StefCT > > > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > -- --------------------------------------- | A | de la langue française | B | http://www.languefrancaise.net | C | languefranca...@gmail.com --------------------------------------- @bobmonamour ---------------------------------------
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users