Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Turned off Categories on Main Page, But Still Showing

Turned off Categories on Main Page, But Still Showing

Locked

Views: 1,561

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
25 Jan 2008, 10:51 PM
#1
leonardawilson avatar

leonardawilson

New Zenner

Join Date:
Jun 2005
Location:
Texas
Posts:
47
Plugin Contributions:
0

Turned off Categories on Main Page, But Still Showing

I turned off main page categories in the Admin (set to "0") but they're still showing up on the main page. Any ideas? I've got a few overrides but nothing affecting index categories, at least to my knowledge.

Here's my developmental site (left column):

http://75.125.201.194/

25 Jan 2008, 11:00 PM
#2
leonardawilson avatar

leonardawilson

New Zenner

Join Date:
Jun 2005
Location:
Texas
Posts:
47
Plugin Contributions:
0

Re: Turned off Categories on Main Page, But Still Showing

by the way, i've got a clean install of 1.3.8a with an upgraded database, and they still show on Classic template even with the setting at "0" in the admin.

29 Jan 2008, 2:42 AM
#3
leonardawilson avatar

leonardawilson

New Zenner

Join Date:
Jun 2005
Location:
Texas
Posts:
47
Plugin Contributions:
0

Re: Turned off Categories on Main Page, But Still Showing

found a workaround. Don't know why the admin setting was leaving the main category up, but I used the sidebox override code from another thread to remove it like so in /modules/MY_TEMPLATE/categories.php:

if ($this_is_home_page) {
$show_categories = false;
} else {
$show_categories = true;
}

if ($show_categories == true) {

MAIN CODE HERE

}

29 Jan 2008, 3:12 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Turned off Categories on Main Page, But Still Showing

There is no admin setting for sideboxes on specific pages. What you were looking at was for the center column category icon grid display.

Your solution is the right one for the job.

30 Jan 2008, 9:16 PM
#5
jaap avatar

jaap

New Zenner

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

Re: Turned off Categories on Main Page, But Still Showing

I have a somewhat similar situation with categories not behaving as "expected" :unsure:

Configuration :: Layout Settings :: Categories - Always Show on Main Page = 0
Configuration :: Layout Settings :: Main Page - Opens with Category = " "

Categories don't show below Main Page when "Home" (as expected) :yes:
yet if I click on any Category it still displays below the Main Page text (expected to behave differently) :no:

Any ideas please?

Thanks, Jaap
canopyxchange.za.net

31 Jan 2008, 9:12 AM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Turned off Categories on Main Page, But Still Showing

Categories - Always Show on Main Page = 0

means don't show them on the home page.
It doesn't affect the category index pages.

You might try setting
Customer Greeting - Show on Index Page 0.