Code:
{if $pagename eq "upcoming" OR "published" OR "catergory"}

![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I have searched through the code and cannot find how to do an OR statement within a IF. Code: {if $pagename eq "upcoming" OR "published" OR "catergory"}
|
| |||
| LOL I worked on this for 15min and as soon as I post I figure it out ![]() Here is the correct code for an IF OR statement Code: {if $pagename eq "upcoming" || $pagename eq "published" || $pagename eq "catergory"}
Code: {if $pagename eq "upcoming" OR $pagename eq "published" OR $pagename eq "catergory"}
Last edited by jasxon; 01-19-2008 at 01:17 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Template conditional statement for: PAGE 1 | cmstheme | Questions and Comments | 3 | 09-30-2007 11:37 AM |
| Form Appear on If Statement | ZeroHoursOfSleep | Questions and Comments | 1 | 09-14-2007 06:44 AM |
| General 'if' statement question | aaronpais | Questions and Comments | 1 | 05-07-2007 10:25 PM |
| Site slogan and mission statement? | noid | Questions and Comments | 2 | 10-27-2006 12:57 AM |
| Help with if then statement | canadapc | Questions and Comments | 0 | 08-03-2006 06:20 PM |