views_ui.add_display.html.twig

Same filename in other branches
  1. 9 core/modules/help_topics/help_topics/views_ui.add_display.html.twig
  2. 11.x core/modules/views_ui/help_topics/views_ui.add_display.html.twig
---
label: 'Adding a new display to an existing view'
related:
  - views.overview
  - views_ui.edit
---
{% set views_link_text %}{% trans %}Views{% endtrans %}{% endset %}
{% set views_link = render_var(help_route_link(views_link_text, 'entity.view.collection')) %}
{% set view_edit_topic = render_var(help_topic_link('views_ui.edit')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Add a new display to an existing view. This will allow you to display similar data to an existing view, using similar settings, in a new block, page, feed, etc.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}If you are not already editing your view, in the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em>{{ views_link }}</em>. Find the view you want to edit, and click its <em>Edit</em> link.{% endtrans %}</li>
  <li>{% trans %}Under <em>Displays</em>, click <em>Add</em>.{% endtrans %}</li>
  <li>{% trans %}In the pop-up list, click the link for the type of display you want to add; the most common types are <em>Page</em> and <em>Block</em>. The new display will be added to your view, and you will be editing that display.{% endtrans %}</li>
  <li>{% trans %}Optionally, click the link next to <em>Display name</em> and enter a new name to be shown for this display in the administrative interface.{% endtrans %}</li>
  <li>{% trans %}Follow the steps in {{ view_edit_topic }} to edit the other settings for the display.{% endtrans %}</li>
</ol>

File

core/modules/views_ui/help_topics/views_ui.add_display.html.twig

View source
  1. ---
  2. label: 'Adding a new display to an existing view'
  3. related:
  4. - views.overview
  5. - views_ui.edit
  6. ---
  7. {% set views_link_text %}{% trans %}Views{% endtrans %}{% endset %}
  8. {% set views_link = render_var(help_route_link(views_link_text, 'entity.view.collection')) %}
  9. {% set view_edit_topic = render_var(help_topic_link('views_ui.edit')) %}
  10. <h2>{% trans %}Goal{% endtrans %}</h2>
  11. <p>{% trans %}Add a new display to an existing view. This will allow you to display similar data to an existing view, using similar settings, in a new block, page, feed, etc.{% endtrans %}</p>
  12. <h2>{% trans %}Steps{% endtrans %}</h2>
  13. <ol>
  14. <li>{% trans %}If you are not already editing your view, in the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em>{{ views_link }}</em>. Find the view you want to edit, and click its <em>Edit</em> link.{% endtrans %}</li>
  15. <li>{% trans %}Under <em>Displays</em>, click <em>Add</em>.{% endtrans %}</li>
  16. <li>{% trans %}In the pop-up list, click the link for the type of display you want to add; the most common types are <em>Page</em> and <em>Block</em>. The new display will be added to your view, and you will be editing that display.{% endtrans %}</li>
  17. <li>{% trans %}Optionally, click the link next to <em>Display name</em> and enter a new name to be shown for this display in the administrative interface.{% endtrans %}</li>
  18. <li>{% trans %}Follow the steps in {{ view_edit_topic }} to edit the other settings for the display.{% endtrans %}</li>
  19. </ol>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.