Removing the navigation menu from the node menu settings in Drupal

江枫思渺然 提交于 2020-01-13 10:56:30

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/3036864/removing-the-navigation-menu-from-the-node-menu-settings-in-drupal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!