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 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 :)
text for user1
(:ifend:)
(:if author user1 :)
text for user2
(:ifend:)
(:if !author user1 && !author user2 :)
text for all other users, but not for user1 and user2
(:ifend:)
--
Thanks very much for your help.
Best regards,
Mike
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
--
Doug Johnson
"Everyone is as God has made him, and oftentimes a great deal worse" -
Miguel do Cervantes
800-456-4522 CompuLink Sales
805-497-4952 CompuLink Fax
216-453-3793 DJ Direct VOIP-Gizmo dugjohnson
916-644-6980 DJ Direct eFax
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Email
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Personal Email
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users