View Single Post
  #4  
Old 07-27-2006, 01:24 PM
  fordy3's Avatar 
fordy3 fordy3 is offline
 

Advanced Member
  
Join Date: May 2006
Location: Yorkshire, England
Posts: 65
 

Default Re: where do i insert this line of code?

Quote:
Originally Posted by thefizix
Quote:
Originally Posted by pauldodman
{if $main eq "catalog" or $current_category.category eq ""}

your code

{/if}

where would I insert this line of code? I added it in the home.tpl and it still shows the banner on other pages.

In 4.1.0 this works if you just want to display on the main page...

{if $current_category.category eq ""}

YoUr CoDe

{/if}
__________________
David Ford
http://youroldbooksandmaps.co.uk

X-Cart Gold Version 4.6.0
Reply With Quote