Forums / Templates, Stylesheets, Page Layout / product pages need to be different

product pages need to be different

Locked

Started by stitchnkitty on 15 Sep 2009, 1:52 PM · Views: 648

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Sep 2009, 1:52 PM
#1
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

product pages need to be different

Good morning

Can someone tell me how to eliminate the sideboxes on my product pages and keep the sideboxes on my front page?

15 Sep 2009, 2:19 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: product pages need to be different

Edit /includes/templates/your_tempate/common/tpl_main_page.php according to the comments at the top of the file. Add a statement like```php
//disable sidebars if not home page
if (!$this_is_home_page){
$flag_disable_left = true;
$flag_disable_right = true;
}

15 Sep 2009, 3:02 PM
#3
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: product pages need to be different

WOW works like a charm!!!!!
TY TY