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

查看:126
本文介绍了从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天全站免登陆