问题描述
是否可以禁用分类术语页面上节点的常规分类列表?
Is it possible to disable the normal taxonomy listing of nodes on taxonomy term pages?
我需要这个的原因是我想使用视图的分类页面替代,但是默认的视图替代会阻止面包屑模块正常工作.因此,我想制作一个术语视图,但作为一个块,并使用PHP在某些页面上显示它.
The reason I need this is I want to use a view's override of taxonomy pages BUT the default views override stops a breadcrumb module working properly. So, I want to make a term view but as a block and show it on certain pages with PHP.
谢谢
推荐答案
如果您要做的只是使用View覆盖分类术语页面,但不使用默认视图,则可以创建实现hook_menu()
的自定义模块或者您也可以查看 Taxonomy Redirect模块.
If all you want to do is override the taxonomy term pages with a View, but NOT use the default view, you could create a custom module implementing hook_menu()
or you could also take a look at the Taxonomy Redirect module.
从分类重定向"页面:
这篇关于Drupal-禁用分类术语页面上的节点列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!