从 Drupal 中的节点菜单设置中删除导航菜单 [英] Removing the navigation menu from the node menu settings in Drupal

查看:18
本文介绍了从 Drupal 中的节点菜单设置中删除导航菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从节点编辑表单的菜单设置中删除导航"菜单(和其他)?我怀疑这可以使用像 module_form_alter 这样的钩子以某种方式实现,但我不确定如何实现它.这样做的动机是消除用户在下拉菜单中出现除标准主链接菜单之外的菜单时的困惑.目的是将选项限制为他们需要/想要发布内容的菜单.

How do you remove the "Navigation" menu (and others) from the menu settings on the node edit form? I suspect this can be achieved somehow using a hook like module_form_alter, but am not sure how to implement it. The motivation for this is to remove the confusion our users have when menus other than the standard primary links menu is in the drop down. The aim is to restrict the options to just the menus they will need/want to post content to.

这个问题部分与 我之前提出的一个关于域访问的问题,但我还没有解决.

This question is in part related to an earlier question I asked in regards to Domain Access that I have not yet been able to solve.

推荐答案

有两个模块可以做你想做的事,我自己从来没有尝试过.每个角色的菜单每个内容类型的菜单设置.

There are two modules that maybe do what you want, I never tried them myself tough. Menu per Role and Menu Settings per Content Type.

这篇关于从 Drupal 中的节点菜单设置中删除导航菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆