Group views displays (D6, V2)

akay's picture

Anyone have ideas on how to group displays within views? I have a view with 6 attachments. 4 out of the 6 are unrelated, but two are closely related. I want to contain them within a HTML container so they can be kept as a single block that does not break into two blocks when content to the left of them varies in length.

Here is an ascii picture of long content type A. Attachments B and C appear as one block in this instance:

A1 B
A1 C

And another ascii pic of a short content type A. Attachments B and C break apart from each other:

A1 B
C

Note that I cannot float C to the right as this is a two column design where it is possible for multiples of content type A to be present:

A1 A2
A1 A2
B
C

views_field_view appears to be a potential solution. It allows views to be embedded in a view. Seems like there might be a more elegant solution since all I really need is the ability to somehow group attachments.

Thoughts?

Comments

some ideas, maybe?

maryannking's picture

Don't know if I totally understand what you need, but is there anything that is relative between them? I had an instance last week where Barry helped me - grouping articles that go with a newsletter - create a node and then add a node reference field to the articles that would point at the node and then have then the argument of NID -

I remember one time where I added attachments to the view (dont remember exactly) you can add and attachment before or after the view

you can also use context - where you can have the results of one view added to another

In d6 - I have used component (something Jer helped me with the first time)-at the bottom of the first column of the view is the "theme" label followed by the linkable word "information": when you click on information it gives you all the possible template info for the display and style plugins,

don't know if I'm helping you or not, but thought I would offer the above.

Twin Cities

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week