[pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread info
Hi all I use the following markup in a page. The last :if markup does not work, I need to do someting if user is not user1 and not user2. There is no :else markup therefore I used the not operator but it does not work in conjunction with the operator. Any idea how I can achieve that? (:if

Re: [pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread Petko Yotov
On Sunday 10 June 2007, [EMAIL PROTECTED] wrote: There is no :else markup therefore I used the not operator but it does not work in conjunction with the operator. Any idea how I can achieve that? ... (:if !author user1 !author user2 :) text for all other users, but not for user1 and user2

Re: [pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread Doug Johnson
How about (:if !(author user1 or author user2) :) or just more parens (:if ((! author user1) (! author user2)) :) [EMAIL PROTECTED] wrote: Hi all I use the following markup in a page. The last :if markup does not work, I need to do someting if user is not user1 and not user2. There is

Re: [pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread Patrick R. Michaud
On Sun, Jun 10, 2007 at 01:01:18PM -0500, Doug Johnson wrote: How about (:if !(author user1 or author user2) :) or just more parens (:if ((! author user1) (! author user2)) :) In order for complex conditionals to work, the word expr or an opening square bracket must appear at the