[pmwiki-users] no ifs, ands, buts, or else ...

Neil Herber nospam at eton.ca
Thu Mar 23 14:37:39 CST 2006


Do my eyes deceive me?
http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup

... or is there really no (:else if:) or (:else:) construct? It looks 
like the (:if:) as implemented is a variation of  the SSI show and 
hide directives (though not implemented that way).

It is a pain to have to write
(:if cond-a:)  show a
(:if cond-b:)  show b
(:if cond-c:)  show c
(:if cond-d:)  show d
(:if expr !cond-a or !cond-a or !cond-a or !cond-a:) show something else
(:if:)

Is there something (else) I have missed?


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 





More information about the pmwiki-users mailing list