By ralf57 on
Hi all,
I have a content type with 2 CCK fields (field_image and field_video).
I have created a view with the 2 fields and I'm displaying the results using the "Views attach" module.
The problem is that the view currently puts both the 2 fields' content in the same row while I want to display the content of the the 2 cck fields as separated lists.
I'd like to get this:
## images list ###
image 1
image 2
image 3
.........
## videos list ##
video 1
video 2
video 3
........
Can anybody give me some clues on how to achieve this?
Thanks in advance, ralf
Comments
My way
The way I would do this is by creating two separate blocks within the view since they can have seperate filters. In Views2 this is easy. Then I would just display these two blocks on the specific page (or pages) that I wanted by configuring that block on the Blocks page. Then they can be styled to display side by side, stacked, or however you want them.
If anyone has a better way I would be curious to know that as well, but this is how I have solved similar problems for sites.
Why are you using views attach?
Jacob's method is easy and effective.
You also state that you want to display the content as separated lists. You will need to create 2 views to create 2 lists.
Grouping in Views allows you to group by only one Content field or node type. Not both.