Zen Cart Logo
Forums / General Questions / Remove left colum on home page

Remove left colum on home page

Locked

Views: 1,475

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Jun 2008, 11:55 AM
#1
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Remove left colum on home page

I want to turn off the left column for my front page. I found this tutorial;
https://www.zen-cart.com/tutorials/index.php?article=233

I need to replace contact_us with the home page, but what should I type in?

16 Jul 2009, 10:49 AM
#2
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Remove left colum on home page

ive got a problem i want to turn off both on the home page, so i did as the tutorial and entered index as the page but this turns off all the catogaror pages as well as they use the index with a varible databse ie index&cPath=5

what do i put to just do the index home page??

// the following IF statement can be duplicated/modified as needed to set additional flags
  if (in_array($current_page_base,explode(",",'index')) ) {
    $flag_disable_right = true;
    $flag_disable_left = true;
  }
16 Jul 2009, 11:58 AM
#3
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Remove left colum on home page

sorted!!!

add this below the above stament

  if ($this_is_home_page) {
    $flag_disable_left = true;
  }