View Single Post
  #2  
Old 08-18-2007, 01:22 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: if statement for homepage

in file, skin1/customer/home.tpl

FIND:
Code:
{include file="location.tpl"}
REPLACE WITH:
Code:
{if $main eq "catalog" and $current_category.category ne ""} {include file="location.tpl"} {/if}

Basically, if the current category is not empty, show location.tpl. Ok?

Hope this works for you.

--Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote