简体   繁体   English

节点标题作为drupal中的菜单项

[英]Node titles as menu items in drupal

i've a node type "Gallery" and a menu title "Gallery" which shows all the available galleries with the help of views. 我有一个节点类型“ Gallery”和一个菜单标题“ Gallery”,它在视图的帮助下显示了所有可用的画廊。

Now, when the user creates a new gallery, i want the name( title ) of that gallery to add as a child element to the "Gallery" menu item.. 现在,当用户创建一个新的画廊时,我希望该画廊的name( title )作为子元素添加到“画廊”菜单项中。

is there any module for that? 有什么模块吗?

thankx.. 谢谢

Module Auto Menu . 模块自动菜单 Here is an excerpt from its project page: 以下是其项目页面的摘录:

... automatically generates menu entries on node creation/edition. ...自动在节点创建/版本上生成菜单条目。 Parent menu item can be specified on a per content type basis. 可以根据每种内容类型指定父菜单项。

This module acts when the menu section of a node is left empty only. 当节点的菜单部分仅留为空白时,此模块起作用。 So, users can still organize menus manually. 因此,用户仍然可以手动组织菜单。 Moreover, default setting for content types is to not create menu items automatically. 此外,内容类型的默认设置是不自动创建菜单项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM