English 中文(简体)
如何根据来自多个节点的捷克克朗田提出计算点?
原标题:How to present a computed field based on CCK fields from multiple nodes?
  • 时间:2010-04-08 12:23:41
  •  标签:
  • drupal

这主要是一个最佳做法问题;这里是确定的问题。 I m 创建小型机器,管理桌面游戏的特性。

  • I have content types for Character, Armor, and Character Inventory.
  • Armor has a field called Defense, let s say it s 3 in this example.
  • Character Inventory uses node reference to link the Character to the Armor, creating a single instance. This node has an extra Bonus field, let s say 2.
  • A Character has a second piece of Armor in his inventory, with the second piece having a Defense of 2 and an extra Bonus of 0.

目前,用户看着一个特性节点,随后有两张意见表,显示目前的武器和武器库存。 我的目标是,就特性节点提出“国防总则”,就上述例子而言,目前是7个。 我不认为我可以采用一种观点,因为《意见书》每件事都在 no子之后。

我可以使用db_fetch_object(db_query($myquery))来拉动信息,但处理这种信息的方法是否更加模糊或容易? CCK 田径(我也广泛使用)似乎在此适用。 如果我已经写了一个问题,那么我看不出有什么好处,在我能够这样一整页,并自行编制清单时,我根本不赞成在座。

想法?

最佳回答

我的第一gues是使用电压文档进行计算。 你们是否看待这一点?

问题回答

暂无回答




相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签