View Single Post
  #2  
Old 08-13-2013, 06:52 AM
 
carpeperdiem carpeperdiem is offline
 

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

Default Re: How to hide left sidebar on front page

Welcome to xcart!

Webmaster mode will be your friend for these types of questions... please read up on webmaster mode and then you'll discover that...

the left menu is placed using the include:

file:
/skin/books_and_magazines/customer/content.tpl
Code:
<div id="left-bar">{include file="customer/left_bar.tpl"}</div>

as you can see, there is an IF statement surrounding the include:

Code:
{if ($main neq 'cart' or $cart_empty) and $main neq 'checkout'} <div id="left-bar">{include file="customer/left_bar.tpl"}</div> {/if}

IF $main is not 'cart'
OR cart is empty
and $main is not checkout, then show the left-bar

you will want to add an if to exclude the home page

read all about it here:
http://forum.x-cart.com/showthread.php?t=67270

This forum has every answer you probably will ask -- just have to learn how to ask (search). Google search is also your friend
(site:http://forum.x-cart.com)

Good luck,

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