Forums / General Questions / Stop sub categories appearing in LH column

Stop sub categories appearing in LH column

Locked

Views: 601

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
26 Jul 2010, 12:58 PM
#1
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Stop sub categories appearing in LH column

Have tried all settings I can think of although I am sure I have done this before....! Just want the top level categories to display in LH column as the sub categories are displayed on the main page when top level category is clicked.

thanks

26 Jul 2010, 2:14 PM
#3
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Stop sub categories appearing in LH column

Yes that's where I thought it was - but it's set to 0 and they still appear?

site is dimplesdaisysanddandelions co uk

29 Jul 2010, 8:31 AM
#4
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Stop sub categories appearing in LH column

Anyone has any others thoughts??

29 Jul 2010, 8:57 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Stop sub categories appearing in LH column

May be something about your template - have you switched temporarily to the Classic template ?

29 Jul 2010, 3:23 PM
#6
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Stop sub categories appearing in LH column

I did switch to classic green template and lo and behold the sub categories did not display on the LH box....now...how do I go about correcting this on the template in use??!!

29 Jul 2010, 3:45 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Stop sub categories appearing in LH column

No way to tell without seeing your site... and even then we couldn't see the PHP code in your template files that is causing your issue. But seeing your site live would be a start.
What mods do you have installed besides the template?

29 Jul 2010, 3:47 PM
#8
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Stop sub categories appearing in LH column

Ah - your pointer put me in the right area. I had previously changed the includes/mytemplate/sideboxes/tpl_categories.php to suppress one category (SALE) and so I checked the original coding and saw a statement had been erased.

SO for anyone else....this only displays top level categories but suppress one with no name!

if (zen_get_product_types_to_category($box_categories_array[$i]['path']) == 3 or$box_categories_array[$i]['name']=='' or ($box_categories_array[$i]['top'] != 'true' and SHOW_CATEGORIES_SUBCATEGORIES_ALWAYS != 1))

Many thanks