View Single Post
  #3  
Old 10-10-2007, 10:27 AM
  DrQuietus's Avatar 
DrQuietus DrQuietus is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 81
 

Default Re: Embedded Static Page Problem

I was making things too compicated. The first if statement was working so I just cut out the whole second if statement with an {else}. This is how it worked in case, for some off the wall reason, someone else wants to do this:

{if $main eq "catalog" and $current_category.category eq "" OR $smarty.get.pageid eq "24"}
{include file="customer/main/welcome.tpl" f_products=$f_products}


{else}
<div id="middlecolumn">


I really need to spend some time learing smarty and php better. Can anyone recommend a good place to start? I live in Bulgaria, so books in english are hard to find and cost more to ship than to purchase.
__________________
Dave Jones
dave@industrialwebworks.net
Mostly 4.7.2 - 4.7.5
Reply With Quote