If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Listing categories outside of sideboxes?

Listing categories outside of sideboxes?

Started by iindigo on 10 Jun 2012, 8:18 AM · Views: 416

Results 1 to 3 of 3
10 Jun 2012, 8:18 AM
#1
iindigo avatar

iindigo

New Zenner

Join Date:
Jun 2012
Posts:
1
Plugin Contributions:
0

Listing categories outside of sideboxes?

Hello,

I recently picked up Zencart for a project and am currently developing a heavily-customized template for it. I will not be using the built-in category sidebox, as it does not fit the design being used.

Does Zencart provide a simple way to access store categories and list them off? Specifically, I am looking to create an unordered list from them to create a navbar.

Thanks for reading!

10 Jun 2012, 8:32 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Listing categories outside of sideboxes?

Depending on WHERE and HOW you want to display your categories, will determine the structure of the CODE needed to compile appropriate category "lists".

What you are asking is possible, and you may want to look at the code in the categories sidebox to give you some pointers.

There are also templates like AppleZen that have dropdown and flyout menus for categories, and some other plugins for different category displays.

Go to PLUGINS and do a global search using "categories" or "category" or "menu" (or a combination).

Download appropriate plugins and study the code.

20 years a Zencart User

10 Jun 2012, 12:54 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: Listing categories outside of sideboxes?

If you want your categories in a "navbar" (presumably horizontal), there are a couple of capable categories navbar mods already available. At most, you would probably just need to tweak one of those.