bryanb
08-24-2012, 04:01 PM
I have quite a number of categories, and many have subcategories. I've created a categories widget that is specific to a section of the CMS. The problem that I am having is that all of the categories are being displayed without differentiating from the subcategories, for example - I have categories with subcategories like so:
Trucks
>Fords
>Chevys
>Nissan
>Dodge
When it's displayed it looks like this:
Chevys (10)
Dodge (7)
Fords (3)
Nissan (2)
Trucks (0)
I was hoping that the main categories would not have a number next to them (if they have subcategories) and expand to the subcategory list. I can't figure out how to make the categories more intuitive. At the moment, visitors would think there are 0 articles that have to do with trucks. There really shouldn't be a number there at all. And the subcategories ought to be listed together.
I posted this at the .com site, and they suggested that I edit one of the php files located here: packages\vbcms\widget\categorynav etc.
Could someone help out with the coding? I'm really not sure what to change. Thanks!
Trucks
>Fords
>Chevys
>Nissan
>Dodge
When it's displayed it looks like this:
Chevys (10)
Dodge (7)
Fords (3)
Nissan (2)
Trucks (0)
I was hoping that the main categories would not have a number next to them (if they have subcategories) and expand to the subcategory list. I can't figure out how to make the categories more intuitive. At the moment, visitors would think there are 0 articles that have to do with trucks. There really shouldn't be a number there at all. And the subcategories ought to be listed together.
I posted this at the .com site, and they suggested that I edit one of the php files located here: packages\vbcms\widget\categorynav etc.
Could someone help out with the coding? I'm really not sure what to change. Thanks!