[pmwiki-users] conditional markup 'else' issue

info at hassanein.ch info at hassanein.ch
Sun Jun 10 05:34:13 CDT 2007


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





More information about the pmwiki-users mailing list