Drupal Module – Taxonomy Menu

本文介绍了TaxonomyMenu模块的功能及配置方法,特别是针对TaxonomyMenuHierarchy特性进行了详细解释,包括如何设置路径、依赖项和视图回调等。此外还提到了与其他模块如hideemptyterm、rewritemenupath和contentview的协同工作方式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Taxonomy Menu是用Taxonomy来导航的模块,使用时在术语表里设置Menu,只是不知道Taxonomy Menu Hierarchy:Enables Hierarchy path to Taxonomy Menu是什么意思,找到以下一段话:

Hierarchy: This should only be used if you have custom code or a block that relies on the category/vid/tid/tid/tid. If you would like the url to be this path, the recommendation is to use PathAuto with 'category/[vocab-raw]/[copath-raw]'. Use the field "Base Path for Hierarchy Path" to see the base URL that will match the veiw or page callback. The view or page callback back MUST be created before the taxonomy menu.

如果结合hide empty term 和 rewrite menu path 、content view可以完成左边栏目录控制右边栏

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值