This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » {switch} {case} will not Work!!!?!?!

{switch} {case} will not Work!!!?!?!

{switch} {case} will not Work!!!?!?!

Wednesday 23 July 2003 11:22:18 pm - 4 replies

{let ......}
{switch name=navcheck match=$}
{case match!="Metal-Fab Inc."}
................ statements .....

Wednesday 23 July 2003 11:27:42 pm

Douglas, {switch} {case} should work. Could you post some specifics as to the problem you are encountering?


Wednesday 23 July 2003 11:32:38 pm

Thanks Alex.

I think it has something to do with either the "!=" or the "match=$". When I have:

{switch name=navcheck match="99"}

{case match!="22"}

It works! But not with the variable $ Any ideas.

Wednesday 23 July 2003 11:42:53 pm

OK, the problem is with the "!=". Is this a valid operator? If not, what do I use for not equal? I have tried ne and <> but niether work???

Thursday 24 July 2003 12:00:23 am

To use the 'ne' operator, to this:

{section show=$|ne("Home"blunk.gif Emoticon}

Or use Switch as in my reply to your other post.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from