If this is your first visit, check our documentation. To post, register or login.
Forums / Customization from the Admin / How to show subcategories in sidebox, not on main page?

How to show subcategories in sidebox, not on main page?

Locked

Started by zar_the_first on 4 Jun 2010, 7:59 PM · Views: 1,581

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Jun 2010, 7:59 PM
#1
zar_the_first avatar

zar_the_first

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

How to show subcategories in sidebox, not on main page?

I want subcategories to show on category pages but not on the middle of the main page (e.g. the first or home page).

When I turn on subcategories in the Categories sidebox, it automatically displays those subcategories in the middle of the main page. I want the subcategories in the sidebox, not on the main page.

My layout settings are:

Categories - Always show on main page = 1
Main Page - Opens with Category = 69
Categories - Always open to show subcategories = 1

Now, if I change the first setting above to 0, the subcategories don't show in my category sidebox, it defaults to showing only my two top level categories. I want the subcategories to always display the second level categories (69) in the sidebox, but not to list all of them in the middle of the main page too (there are a LOT). But when a user clicks on a category, I DO want the subcategories to display in the top middle of the category page.

If I change the third setting above to 0, the sidebox only shows my two top categories.

What additional settings am I missing here?

4 Jun 2010, 8:02 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: How to show subcategories in sidebox, not on main page?

I'd hate to guess how many template versions there are out there.

It may just be a simple display: none; in the stylesheet, but we could help better if we had at least a link.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

4 Jun 2010, 8:29 PM
#3
zar_the_first avatar

zar_the_first

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

Re: How to show subcategories in sidebox, not on main page?

I didn't want to post the link publicly so I've pm'ed you.

4 Jun 2010, 8:42 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: How to show subcategories in sidebox, not on main page?

If you fix the major errors with the TM template, the problem might go away.

Scroll all the way to the bottom of your page and (above the hr) you will find }?>

That's not a good sign.

Neither is > ight 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_index_product_list.php 6009 2007-03-13 23:56:45Z ajeh $ */ ?>at the top of the Commercial Products.

Other than that, I don't see what you are talking about.

I'd fix the other THEN worry about the sub-categories.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

4 Jun 2010, 8:47 PM
#5
zar_the_first avatar

zar_the_first

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

Re: How to show subcategories in sidebox, not on main page?

I know about the errors but I have to prioritize and the boss wants to start editing product details now.

Those TM errors are easy fixes, anyway and nothing to do with the problem I'm describing.