News:

Support the VirtueMart project and become a member

Main Menu

Show sub sub-categories in menu

Started by hmmm, December 13, 2011, 10:08:11 AM

Previous topic - Next topic

hmmm

Hi all,

I'm using the mod_virtuemart_category module to show all the categories as a menu on the site. This works fine, but i want to show the sub subcategories too. I've been fiddling with the module but unable to see how to do this.

For example, i want to get the following information:


Category 1
  - Sub 1
     - Sub Sub 1
     - Sub Sub 2
  - Sub 2
     - Sub Sub 1
     - Sub Sub 2
Category 2
  - Sub 1
     - Sub Sub 1
     - Sub Sub 2
  - Sub 2
     - Sub Sub 1
     - Sub Sub 2


I've been looking at the excisting module code (all.php) in modules/mod_virtuemart_category/tmpl and some debugging later (with some print_r's) I know the category has got an array childs. But the childs have childs too, but are missing this array.  How can I build a menu like this? Any tips and help would be very welcome.

hmmm

Really nobody who can help me with this? :(

rooney

I am also having the same problem and i have posted it too but no replies.
I think nobody is able to fix the problem..

J1.7.3 & VM2.

PRO

the category module only supports 2 levels

rooney

Then how to get more than 2 levels??

PRO

create a joomla menu manually, or wait for someone to develop another category module.


rooney

I have created new menu "VM categories" in joomla.
Now i have to create categories in this menu so what "Menu Item Type" should i give??