Drupal CCK 3 Multigroup tables with views

Posted by henrijs.seso on Stack Overflow See other posts from Stack Overflow or by henrijs.seso
Published on 2010-01-28T21:59:03Z Indexed on 2010/03/22 5:11 UTC
Read the original article Hit count: 529

Filed under:
|
|

Hi,

Each node have CCK-3-dev multigroup with 3 fields. Can I use one of fields as table header? Values of this field are taken from Taxonomy.

With a simple recipe example, where food Z and Y are 2 nodes with recipes and each node has multigroup with ingredient name (milk, fish), amount (numbers) and unit (g, kg).

Is there a way to create a table like this with views, I want to use views calc to calculate total amount of ingredient needed to prepare multiple recipes:

           Ingredient A   Ingredient B   Ingredient C
Food Z     200 g          700 g          0 g
Food Y     500 g          1000 g         50 g

I don't even need units by number, but that would be good too. Anyways, how do I get this?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about cck