Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Columns on Category Display

Columns on Category Display

Locked

Views: 1,114

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Feb 2008, 5:43 PM
#1
austin_colby avatar

austin_colby

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Columns on Category Display

I am not too sure what caused this but, I cannot figure out how to get categories to have the left and right columns....

http://thehomeadventuresco.com/bioguard-c-1.html

I looked in the main_page_tpl and there is no override on...

if (in_array($current_page_base,explode(",",'index,about_us,service')) ) {
$flag_disable_left = true;
}
if (in_array($current_page_base,explode(",",'index,about_us,service')) ) {
$flag_disable_right = true;
}

Perhaps I am just missing a setting in the admin?

20 Feb 2008, 5:52 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Columns on Category Display

Category listing page is also index page, if you want to just disable on the homepage:

   if ($this_is_home_page || in_array($current_page_base,explode(",",'about_us,service')) ) {
    $flag_disable_left = true;
  }
20 Feb 2008, 6:24 PM
#3
austin_colby avatar

austin_colby

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Re: Columns on Category Display

Thanks for the tip! It worked perfectly.