Hello! I am trying to create a list view for my frontpage which displays 2+ different content types and different fields for each. For example I would like my content type Interviews to display two fields, one for a teaser image and one for a text field, and another content type called Articles to display the full content. I am clueless on how to proceed as they are not overlapping fields, and I don't know how to configure them as such in the Views field section. Is it possible to do this, or not? Thanks in advance.

Comments

sandfurz’s picture

subscribe

justageek’s picture

Create 2 diff views, one for each content type, create them as 'block' displays, then assign the resulting blocks to the content region as provided by your theme. They will be subject to your theme's block html / css though and will look like separate blocks of content. Please let me know if this doesn't meet your needs, as their may be another solution using 'attachment' views.

Edit - Another solution, from views Advanced Help

Attachment displays are 'attached' to another display in the same view. When the display is visited, the attached display will also be rendered and may be placed before, after or both before and after the original display. Attachment displays are often useful for displaying an argument summary view along with a page display that accepts arguments. This can be used to provide a kind of glossary.

blup’s picture

Thanks for your feedback. That solution doesn't meet my need as I want it to display in a single chronological list. In other words, rather than have two blocks with a different content type in each, i wanted a column that displays those two different content types as they are published. If you have any other ideas, please let me know. Thanks!