Thread: Cusotm homepage
View Single Post
  #7  
Old 05-01-2010, 05:44 AM
  FTI's Avatar 
FTI FTI is offline
 

Senior Member
  
Join Date: Oct 2009
Location: Plovdiv, Bulgaria
Posts: 153
 

Default Re: Cusotm homepage

Hi cosy,

If you want to hide included file only on the homepage you go like this:

Code:
{if $main neq "catalog" || $current_category.category neq "" and ($main ne "catalog" or $cat ne "")} {include file="customer/bread_crumbs.tpl"} {/if}

You can replace the string in red with any included file you want.

If you want to hide a module only on the homepage you go like this:

Code:
{if $active_modules.Bestsellers and ($main ne "catalog" or $cat ne "")} {include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if}


The only file you need to edit is: skin1/customer/home.tpl

Thats everything I did and it works for me

Take care!
__________________
Version 4.2.3
X-Cart Gold

Version 4.3.1
X-Cart Gold
Reply With Quote