![]() |
How to hide left sidebar on front page
Template books and magazines. I want to hide left menu on front page only. Any one have done it before. Thanks in advance
http://kupipalto.ru |
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'} 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 |
All times are GMT -8. The time now is 07:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.