Quote:
Originally Posted by Zizilu
1. I want left bar to only show on home page and products page, how do I do that? all threads want the opposite lol
|
You can modify the code in this template file:
skin/ideal_responsive/customer/content.tpl
Code:
{if ($main neq 'cart' or $cart_empty) and $main neq 'checkout'}
<div id="left-bar">
{include file="customer/left_bar.tpl"}
</div>
{/if}
You can change the code as follows:
Code:
{if $main eq 'product' or ($main eq 'catalog' and $cat eq 0)}
<div id="left-bar">
{include file="customer/left_bar.tpl"}
</div>
{/if}
Basically, home page has $main set to 'catalog' and $cat set to 0, and all product pages have $main set to 'product'.