View Single Post
  #2  
Old 08-31-2005, 11:37 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,065
 

Default

Firstly, don't be put off - once you get the hang of what does what, you can make x-cart fit your design.

Getting rid of things on the home.tpl page is only going to remove them from the rest of the site.

What you need to do is use if statements if you don't want them.

For example, if you don't want the location bar on the home page, but you do throughout the site, use this.

replace:
Code:
{include file="location.tpl"}

with:

Code:
{if $main eq "catalog" and $current_category.category eq ""} {else} {include file="location.tpl"} {/if}
and just do the same with the other includes.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote