Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / how to remove category box from just one page?

how to remove category box from just one page?

Locked

Views: 1,002

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
4 Jun 2009, 5:27 PM
#1
ineedlove avatar

ineedlove

New Zenner

Join Date:
Jun 2009
Posts:
3
Plugin Contributions:
0

how to remove category box from just one page?

I have define page 2 turned on but I want to remove the category box from the page is it possible?

I tried using the ideas offered here http://www.zen-cart.com/forum/showthread.php?t=53574

and changing the "index" to "page2" but it's not working (it's didn't work when i used index either)

however if i used the suggestion in post #7 of the above referenced thread if ($this_is_home_page) {

then it worked BUT i need it for page 2 not the home page .. can anyone tell me what to change the "this is home page" to read so that it works on the page 2? also i just want to remove the boxes I don't want the center text to move over to the left side as it did

here is the site link if you should need it
https://www.gourmet-foods-inc.com (page2 is the one under more info named certified organic/all natural)

Thank you,

4 Jun 2009, 5:41 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: how to remove category box from just one page?

The approach would be very similar to that explained in this FAQ Entry, except that the condition would be> if (!$_GET['main_page'] == 'page_2') {