更好的大型 Drupal 菜单管理界面
我正在构建一个带有深层菜单的大型 Drupal 站点。我想为我的客户提供更好的界面来查找菜单父项。父选择器中有数百个项目,很快就很难找到您需要的内容。
我已将菜单分为“主要链接”和 6 个不同的产品类别菜单。当您在管理/构建/菜单中时,这会有所帮助...您可以缩小选择范围。
但是在创建/编辑页面时,我很想找到一种使选择更简单的方法。是否有一个模块可将菜单放入单独的父项选择器中?
I'm building a large Drupal site with deep menus. I'd like to give my client a better interface for finding the menu parent item. With hundreds of items in the parent selector, it soon becomes really hard to find what you need.
I've broken up my menus into "Primary Links" and 6 different product category menus. That helps when you're in admin/build/menu... you can narrow down your choices.
But when creating/editing a page, I'd love to find a way to make the choices simpler. Is there a module available to place the menus into separate parent item selectors?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Menu Select beta 模块刚刚发布。它用可扩展的层次结构和自动选择字段替换了节点编辑表单上的默认菜单父项选择。它还会在所选内容上方显示预览面包屑。
Menu Select beta module was just released. It replaces the default menu parent item select on node edit forms with an expandable hierarchy and autoselect field. It also displays a preview breadcrumb above the selection.
查看每个角色菜单模块。我希望这对您有帮助
,我刚刚完成菜单自动完成模块。这会将您的菜单界面更改为自动完成。
一些说明:-如果您有如下菜单,
您应该知道父元素或第一个元素,例如(parent1,parent2,parent3..)
总是以“--”为前缀。
因此,如果您要搜索“parent2”,您应该搜索
“——标准杆”
并且菜单自动完成将建议所有以“par”开头的父元素....如果您正在搜索“sub1”,您应该在其前面加上“----”..如果您正在搜索“subsub1”你应该在它前面加上“------”...等等,
抱歉我的英语不好&&格式...希望对你有帮助
Take a look at the Menu Per Role module. I hope this helps you
And I just Finished Menu Auto Complete module . which will change your menu interface to auto complete .
Some Instructions :- if you have menu as the following
you should know that the parents or the first elements like (parent1, parent2, parent3..)
are always prefixed with "-- ".
so if you are going to search for "parent2" you should search for
"-- par"
and the menu auto complete will suggest all the parent elements that begin with "par"....if you are searching for "sub1" you should prefix it with "---- " .. if you are searching for "subsub1" you should prefix it with "------ "...and so on
sorry for my bad english && format...hop that will help u
您可能会发现两个有用的模块:
无菜单节点类型
每种内容类型的菜单设置
我通常更喜欢第一个,它只是删除了菜单下拉列表。
第二个允许仅启用特定菜单以从每个节点类型中进行选择。
您还可以考虑为每种语言创建单独的菜单,尽管这不会直接帮助您的事业,除非您想要进行一些自定义模块编写。
未来一个有趣的模块将是为此提供一个不同的表单元素,可以是自动完成文本字段,也可以是基于 ajax 的弹出窗口。任何可以减少节点编辑页面上的 html 负载的方法。
Two modules you might find helpful:
Menuless Node Type
Menu settings per content type
I generally prefer the first one, which just removes the menu dropdown.
The second one allows to enable only specific menus to choose from per node type.
You might also consider to create separate menus per language, although this does not directly help your cause, unless you want to do some custom module writing.
An interesting future module would be to provide a different form element for this, either an autocomplete textfield, or a popup based on ajax. Anything to reduce the html load on the node edit page.