I manually created a menu where each parent term is a taxonomy. so:

Menu name:cars

Path: cars

Note that 'cars' is a path auto generated url for taxonomy/term/3. I thought you could only put nodes here, but this saves instead of giving the usual error when the path is not available.

Each one of these parent items has 1 level of children. Or, should at least.

In the Structure > Menu view, you can easily see the menu structure with parent and children.

however, when this is rendered as a menu block, only the parents are displayed. Is this because the Parent is a taxonomy term and not a node?

One of the reasons I think it may be a bug is that if you look at the source code the html shows 'collapsed' as an li class, indicating that it knows it needs to have children here. The second reason I think this is a bug is that if I change this to node/(number) instead then everything works fine.

Thoughts?

Comments

bbinkovitz’s picture

Do you have the parents set to render as expanded? If not, that may be causing your issue. If so, the children will render if and only if their parent page is the active page.

bbinkovitz’s picture

Component: taxonomy.module » menu.module
Status: Active » Postponed (maintainer needs more info)

I'm also wondering whether you're using the core menu module or if you're using the contrib module Menu Block? ( http://drupal.org/project/menu_block/ ) Either way, this probably isn't an issue with the core Taxonomy module, but with either a core or contrib Menu module.

Gastonia’s picture

I am using core menu module. I ll try with expanded and report back. thanks!

jdidelet’s picture

I confirm this bug. I don't use menu_block contrib module and when we have a taxonomy term as parent, the childrens don't appear.

jdidelet’s picture

Version: 7.14 » 7.17
Status: Postponed (maintainer needs more info) » Active

I forgot to tell I tested on 7.17 version of Drupal.

Version: 7.17 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.