Drupal 7:创建不同内容类型的节点的层次结构视图
我想创建一个类似节点列表的论坛。父节点是项目,子节点是发布的与该项目相关的问题。我有一个名为发布问题的节点,当用户单击此节点时,它应该有一个所有项目节点的下拉列表,或者应该允许创建一个新项目并在该项目下发布问题?我是 drupal 的新手。我该怎么办呢?
I would like to create a forum like list of nodes. The parent nodes are projects and the child nodes are questions posted related to that project. I have node called post a question, when a user clicks this, it should have a dropdown list of all the project nodes or should be allowed to create a new project and post question under that? I'm new to drupal. How can I go about it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 D6 中,您可以使用这些模块执行此操作:
-Node Reference URL Widget // 用于引用节点
-附加视图 // 用于显示相关节点
,这里是带有说明的精彩播客的链接:http://mustardseedmedia.com/podcast /episode37
在 D7 中,“视图附加”已被弃用,取而代之的是它的凤凰,EVA。
In D6 you can do this with those modules:
-Node Reference URL Widget // for referencing nodes
-Views attach // for displaying related nodes
here is link to great podcast with instrucitons: http://mustardseedmedia.com/podcast/episode37
In D7 "Views attach" is deprecated in favor of its phoenix, EVA.
视图、参考、显示套件、分类。很简单,先尝试再提问。
Views, References, Display Suite, Taxonomy. It's very simple, try things before asking.