开发者

How to make taxonomy_menu and block_menu in Drupal6 work together?

I'm using taxonomy_menu module to render a two level menu from my taxonomy vocabulary. So far so good.

Troubles began when I decided to output levels of the menu separately. I've always used block_menu module for such tasks. I created two menu blocks and set them to display just the first and the second levels.

To my surprise, the second level block never shows up. I've done some debugging in menu_block. Looks like menu_tree_build (in block_menu) function depends on m开发者_运维问答enu_tree_page_data (in menu) to get the active trails data. And the latter fails to deliver it for menus based on taxonomy.

Can anyone propose a workaround? What else should I try?


Menu block module should be useful for this. It allows to show menu blocks and set the level of menu structure.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜