How duplicate and modify views
- Version: 1.0
- Created: 01/18/2019 cmb
- Last Updated: 01/23/2019
- Intended Audience: UCOM/ITLS
Summary
Views are used for creating lists of content such as profiles, content pages, news, and spotlights. One such list is on the “/admin/content/” screen of a Drupal 8 site, which shows a list of all the content. You can modify how this list looks with the following steps.
Prerequisites
- manager access to domain
- content pre-created of the type being listed in a given view
Procedure for Duplicating and Modifying a View (of a list of Content)
[Note: the steps for this procedure are taken from the screencast below. There are many other modifications you can make to a view, depending on your needs.]
- log in to domain
- structure > views
- on the view to duplicate and modify, click the dropdown arrow of the “Edit” button under “Operations” and choose “Duplicate”
- enter a title and click the “Duplicate” button
- click title link to change it and click “Apply”
- under “Fields” click “Add”
- to add fields:
- on the “Add fields” overlay, search “Headline” by typing in form field
- click the checkbox of the “Headline” field and click “Add and configure fields”
- on the “Configure Field: Content: Headline” overlay, click “Apply”
- in the “Fields” area, click the dropdown arrow and choose “Rearrange”
- to rearrange:
- on the “Rearrange fields” overlay, click on the four-way arrow on the right to move the “Content: Headline Headline” field up under “Content: Title Title”
- click “Apply”
- use the “Preview” to verify the change
- to remove a type of content from the current list, click the “Add” button in the Filter Criteria area
- to add:
- Search for “content type” on the “Add filter criteria” overlay
- click the checkbox of the “Content type” result and click “Add and configure filter criteria”
- to configure the filter:
- on the “Configure filter criterion: Content: Content type” overlay, click the checkbox for “Expose this filter to visitors, to allow them to change it”
- click the “Is not one of” radio button under “Operator”
- click the “Links” checkbox under “Content types”
- click the “Expose operator” checkbox
- click “Apply”
- verify the results in “Preview”
- click “Save” when done
See Also
Keywords
- view
- block
- configuration