I have custom content types that I have sortable under a view with multiple searchable paramaters. I want to be able to add to it. Basically i want that custom content type to have a 5 star rating that is the average of all the ratings of the children nodes under it.

Example:

Main Page with embedded View --> (a vocabulary/container)

- - - - - - - - - - - - - - - - - - - - - - - - -
- View table of all direct children of this node (sortable)
- - - - - - - - - - - - - - - - - - - -
- Custom Node type #1 (term/category)
- Custom Node type #2 (term/category)
- Custom Node type #3 (term/category)
- Custom Node type #4 (term/category)
- Custom Node type #5 (term/category)

each of the custom node types are all the same node type, but each is a different 'issue' representing a month. like a magazine
each of those nodes have children that are nodes and sections of the that given 'issue'. But i want that node issue to have a rating based on the rating on all the children nodes under it. so that node itself cant actually be voted on, but is an average summary of all the nodes under it. On the top of the views table i want to be able to sort the nodes but vote rating

Example 2:

Issue 5: Title of issue
- Overall rating: 3.6 out of 5

Node 1 Rating: 4 out of 5 (out of however many votes)
Node 1 Rating: 3 out of 5
Node 1 Rating: 5 out of 5
Node 1 Rating: 2 out of 5
Node 1 Rating: 4 out of 5

(4+3+5+2+4)=18 ; 18/5(nodes)= 3.6

i know this is a long post for something simple but i want to make sure everyone knows what i mean. Basically a node of any type has the ability to inherit and display the average of all nodes under it.

I want to be able to know how i can accomplish this in D6 (though im sure could be implemented in D5/D4 also), if it isnt possible then i would like to make this a feature request as i think this could be a useful implementation of the 5 star module. Any help or ideas would be greatly appreciated. Thank you

:D

Comments

luckysmack’s picture

So does anyone know if something like this is possible?

-----------------------------------------------------------------------------------------------------------
"The level of our success is limited only by our imagination" -Aesop