When you create a View, you can choose to render each result as 'content' and use a View mode for the display of each result. For example, you can choose to render each result using the Teaser View mode. View modes use Content templates for their layout.
There are two places where you can select which View mode you View will use. These are:
Selecting your view mode within the view settings
To select which View mode your view will use within the View settings:
Navigate to Structure > Views > Select your view
Within the Format section, next to Show, click on the current View mode (This may say Teaser)
In the modal, click on the View mode drop-down and select your view mode.
Important
The View mode selected within View settings will only be used if the View item element within your View template is set to show Drupal default.
Selecting your view mode within the view settings
You can select which View mode your view will use, directly within your View template. Selecting it here will override any setting applied within the Drupal view settings. The advantage of selecting your View mode within your View template is that it keeps the control of your view layout within the View template, but more importantly, Site Studio allows you to use multiple View modes within the same View template. This provides more layout control and flexibility.
To select your View mode from within your View template:
Navigate to Site Studio > View templates > Select your view template
Double click on a View item element to edit its settings
In the Entity type drop-down, select the entity type you want to display. Select Content if the view is displaying content
In the Bundle drop-down, select the entity bundle you are displaying. For example, Article
In the View mode drop-down, select the View mode you want to use to display your content.
Important
Within the View item element settings you are able to select a different view mode for each Entity type bundle. This is useful if your View is displaying content from different content types, as you are able to select which View mode to use for each specific Content type. To Select a different View mode for each Entity bundle, Click on the Add entity type view mode link within the View mode settings area.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.
When you create a View, you can choose to render each result as 'content' and use a View mode for the display of each result. For example, you can choose to render each result using the Teaser View mode. View modes use Content templates for their layout.
There are two places where you can select which View mode you View will use. These are:
Selecting your view mode within the view settings
To select which View mode your view will use within the View settings:
Navigate to Structure > Views > Select your view
Within the Format section, next to Show, click on the current View mode (This may say Teaser)
In the modal, click on the View mode drop-down and select your view mode.
Important
The View mode selected within View settings will only be used if the View item element within your View template is set to show Drupal default.
Selecting your view mode within the view settings
You can select which View mode your view will use, directly within your View template. Selecting it here will override any setting applied within the Drupal view settings. The advantage of selecting your View mode within your View template is that it keeps the control of your view layout within the View template, but more importantly, Site Studio allows you to use multiple View modes within the same View template. This provides more layout control and flexibility.
To select your View mode from within your View template:
Navigate to Site Studio > View templates > Select your view template
Double click on a View item element to edit its settings
In the Entity type drop-down, select the entity type you want to display. Select Content if the view is displaying content
In the Bundle drop-down, select the entity bundle you are displaying. For example, Article
In the View mode drop-down, select the View mode you want to use to display your content.
Important
Within the View item element settings you are able to select a different view mode for each Entity type bundle. This is useful if your View is displaying content from different content types, as you are able to select which View mode to use for each specific Content type. To Select a different View mode for each Entity bundle, Click on the Add entity type view mode link within the View mode settings area.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.