Drupal分类法多选默认值

发布于 2024-09-01 08:40:13 字数 135 浏览 3 评论 0原文

我使用的是 drupal 6.16,并且有一组设置为多选框的分类术语。我希望在用户加载页面时选择第一个项目。我不知道是否需要将代码添加到文件或只是简单地更改设置。我应该警告你,我没有很多经验,但将自己评为中低水平程序员。

提前致谢 姆辛德尔

I'm using drupal 6.16 and have a set of taxonomy terms that are set up as a multi-select box. I would like for the first item to be selected when the user loads the page. I dont know if I need to add code to a file or just simply change a setting. I should warn you I do not have a lot of experience, but would rate myself as a low intermediate level programmer.

Thanks in advance
msindle

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我的影子我的梦 2024-09-08 08:40:13

分类默认值模块看起来只是票证。有关此模块的更多详细信息(来自其项目页面):

分类默认值允许您将任何词汇表中的默认术语分配给任何节点类型。默认术语将在 /node/add 表单上预先选择,但可以编辑。

如果特定内容类型的词汇表被标记为“隐藏”,则该词汇表将不会显示在 /node/add 表单上,并且默认术语将自动分配且无法编辑。

The Taxonomy Defaults module looks just the ticket. Some more details about this module (from its project page):

Taxonomy Defaults allows you to assign default terms from any vocabulary to any node-type. The default terms will be pre-selected on the /node/add form, but can be edited.

If a vocabulary is marked as "Hidden" for a particular content type, then that vocabulary will not be shown on the /node/add form and the default terms will be assigned automatically and cannot be edited.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文