By macuhail on
I am trying to create a view that will have several distinct groups of results. For example, suppose the cck content type has two groups one is "things that work" the other is "things that dont work". In each group is a field for thing and a field for comments on the things.
In the view, I want the two groups of results to be grouped separately from each other. In other words, there will be one group of "things that work" that will list each thing together with the thing's comments. There will be another similar group for "things that dont work".
How can I do this?
Comments
I need more information
Are 'things that work' and 'things that don't work' different CCK content types, or are they CCK fields in one content type, or...?
Doug Gough
ImageX Media
They are different fields in
They are different fields in one content type.
Set the views style to "html list"
In the options for "html list", you can specify one of the fields you have chosen to display to be the "Grouping field". The generated output will then consist of separate html lists for each different value of the "Grouping field." So, if your node type has a cck field called "Working or not", (or a taxonomy) and each node has for this one of 2 values (Works, Doesn't work), the output will contain 2 separate lists, one titled "Works", and anothe titled "Doesn't work".
Steve
Revista Y AHORA QUÉ | Selectividad - Universidades - Foro Blog Chat Estudiantes
Thank you :)
Thanks for suggestion, works perfect :)
It Works
Thanks it works, i was wondering if the same is possible via Grid view.
Similar issue
I'm having a similar issue. I have a select list for each new node that allows multiple values (multiple states). You can view the results here - http://sensorclouds.com/distributors. The results are printing reasonably well but if you see under the 'state' label it prints every state selected instead of iterating through the states each time it prints a row. Is it possible for it to print only one state per row, and then jump to the next state that was applied on the next row? I also want to apply that state to the row as a class, but that's another issue.