How to Present Different Data in Multiple Displays of Views
When first working with Views 2 for Drupal 6, it may not be immediately obvious that information presented in a different displays for a particular View doesn't have to be the same.
Let's say you have started a new View and you are have added several fields and filters. Then you add a Page display, and put in the path. Later, you realize you want to present the information for your View in a block as well. However, maybe you don't want to have all the same fields displayed in your block as you do on the page.
If you add a Block display and then go to make adjustments to the fields, you will have changed the fields for your Page display as well. By default, all of your fields, filters, and other parts of your View are linked together from the default to the page, block, or other display types. In order to have different fields (or filters, etc.) for various display types (page, block, etc.), you need to simply click the Override button that sits over on the right of each section (filters, field, etc.).
That's all you have to do in order to present information differently in various displays of the same View. You can keep parts of it the same - such as arguments - if you wish to do so. When you add a new display, the fields and filters, etc. will be the same - you only have to override that parts that you want to be different.


Post new comment