我已经安装了“分类图像”模块。 但我找不到将多个图像附加到一个分类术语的方法

我的drupal版本是6

有帮助吗?

解决方案

作为Henrik所回答的一个附注,另一种实现所需内容而无需编写单行的方法可能是:

  1. 创建“图像节点”对于你的分类学的每个学期。
  2. 将每个图像节点关联到分类法的正确术语(这里有趣的地方:您可以为每个术语创建多个图像节点,也可以将不同的术语用于相同的图像节点)。
  3. 创建 wiew ,将分类术语/术语作为参数并显示标记的所有图像节点那个词。
  4. 如果您已经了解观看模块,您可能会意识到它是多么容易。如果您是Drupal的新手并且还不知道,那么我推荐你仔细看看它使用 CCK :它们很大,需要一些时间来“grokked”。 (虽然不是这么多!)但是你花在研究它们上的每一秒都是值得的!

    使用视图还可以为您提供更多的灵活性,因为您可以轻松地在表格,列表,网格,添加或删除关联字段中设置主题,甚至可以放置主题额外的过滤器或在单独的块中将它们暴露给用户......

    HTH!

其他提示

As far as I can see, the module does not provide the option to attach multiple images to one term. From the features list on the project page:

  • Allows one-to-one term-to-image relationships.
  • Allows many-to-one term-to-image relationships.

So one term can have exactly on image, or multiple terms can have the same image (for 'inheritance' of a parent term image), but no 'multiple images per term' option.

I have not delved into the modules code to look if there is an easy way to change this, though. So far, there seems to be no request for this feature either.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top