This is going to be a tough one as the whole FiveStars module isn't really built for rating anything but nodes. (so rating fields is probably out)
You could use "content multigroup" and that will allow you to pair up your file fields with an integer field. Note that content multigroup was a standalong module but is now being integrated with CCK3 which is still in development. Even with this, you will have to attach a JavaScript ratings tool (not a drupal module persay) to the field on your own as I'm pretty sure FiveStars is only designed to work against nodes, not specific fields, even less so for the multigroup fields.
So, if you want to stick to using FiveStars and as it's designed (not rewriting it to work with individual fields/multigroup), I'm pretty sure your only option is to split the subtitles into a separate content type and associate using nodereference. This will give the unfortunate side effect of having a separate page to actually do the reviewing. It certainly won't be as quick to rate a series of subtitles.
That's what I know from what I've used of those modules.
发布评论
评论(1)
这将是一项艰巨的任务,因为整个 FiveStars 模块并不是真正为对节点以外的任何内容进行评级而构建的。 (因此评级字段可能已退出)
您可以使用“内容多组”和这将允许您将文件字段与整数字段配对。请注意,内容多组是一个独立模块,但现在正在与仍在开发中的 CCK3 集成。即使这样,您也必须自己将一个 JavaScript 评级工具(不是 drupal 模块)附加到您自己的字段中,因为我很确定 FiveStars 只设计用于针对节点,而不是特定字段,更不用说对于多组字段。
因此,如果您想坚持使用 FiveStars 并按照其设计(而不是重写它以与各个字段/多组一起使用),我很确定您唯一的选择是将字幕拆分为单独的内容类型并使用节点引用进行关联。这会带来不幸的副作用,即需要一个单独的页面来实际进行审核。评价一系列字幕肯定不会那么快。
这就是我从使用这些模块时所了解到的。
This is going to be a tough one as the whole FiveStars module isn't really built for rating anything but nodes. (so rating fields is probably out)
You could use "content multigroup" and that will allow you to pair up your file fields with an integer field. Note that content multigroup was a standalong module but is now being integrated with CCK3 which is still in development. Even with this, you will have to attach a JavaScript ratings tool (not a drupal module persay) to the field on your own as I'm pretty sure FiveStars is only designed to work against nodes, not specific fields, even less so for the multigroup fields.
So, if you want to stick to using FiveStars and as it's designed (not rewriting it to work with individual fields/multigroup), I'm pretty sure your only option is to split the subtitles into a separate content type and associate using nodereference. This will give the unfortunate side effect of having a separate page to actually do the reviewing. It certainly won't be as quick to rate a series of subtitles.
That's what I know from what I've used of those modules.