在创建内容表单中将项目添加到分类菜单词汇表中?
我已经在 Drupal 中实现了分类菜单,并尝试对其进行设置,以便用户可以轻松地从创建内容表单向词汇表添加新项目,而不必管理词汇表本身。
到目前为止,我所能管理的只是显示现有项目的默认行为。
编辑:
启用词汇表的“标签”选项不会达到预期的效果 - 我想要创建内容表单中的父/子结构和下拉菜单以及向该下拉列表添加新标签的能力。
关于原因的更多解释 - 我正在尝试使用标签层次结构创建一个图像库(因此,体育 > 足球 > 5 月 31 日的比赛) - 问题是该网站的一般内容创建者不是-技术上的,我想避免让它们直接通过分类/词汇项界面工作。
I've implemented taxonomy menu in Drupal, and trying to set it up so that it is pretty easy for the user to add new items to the vocabulary from the create content form instead of having to administer the vocabulary itself.
So far, all I can manage is the default behaviour of displaying the existing items.
Edit:
Enabling the 'tags' option for the vocabulary does not allow the desired effect - I want the parent/child structure and drop-down menu in the create content form as well as the ability to add a new tag to that drop-down.
A bit more explanation as to why - I'm trying to create an image gallery using a hierarchy of tags (so, sports > soccer > match on 31st May) - the problem is that the general content creator for the site is non-technical, and I'd like to avoid having to make them work through the taxonomy/vocabulary items interface directly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为您正在寻找分层选择模块。
看看下一页的最后一个演示:
http://wimleers.com/demo/hierarchical-select/taxonomy
I think you're looking for the Hierarchical Select module.
Take a look at the last demo at the following page:
http://wimleers.com/demo/hierarchical-select/taxonomy
你所说的在 Drupal 中被称为“标签”。您想要选中词汇编辑页面上的“标签”复选框,这将更改内容输入表单上的界面,以便用户可以添加新术语/标签。
What you're talking about is called "tags" in Drupal. You want to check the "Tags" checkbox on the vocabulary edit page and that will change the interface on the content entry forms so users can add new terms/tags.