View Single Post
  #4  
Old 12-26-2007, 11:14 PM
 
anela2003 anela2003 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 103
 

Default Re: Discriminating Against Static Pages

That code works beautifully but the trouble is that I have several pages and the script works only for one page at a time. What if I wanted a list with something like

if ($pageid == "190", "191", "195", "203") {

?

How can that be done without parse errors? I tried looking in the the Smarty manual for examples but it seems like commas and quotation marks is what's being used so I'm a bit confused. Thanks.
__________________
4.1.9 Gold

window valances | curtains
Reply With Quote