Introduction to the Content Manager
The Content Manager is a core plugin of Strapi. It is a feature that is always activated by default and cannot be deactivated. It is accessible both when the application is in a development and production environment.
The Content Manager is accessible from Content Manager in the main navigation, which opens a sub navigation displaying 2 categories: Collection types and Single types. Each category contains the available collection and single content-types which were created beforehand using the Content-type Builder. From these 2 categories, administrators can create, manage, and publish content.
Click the search icon in the sub navigation to use a text search and find one of your content-types more quickly!
Collection types
The Collection types category of the Content Manager displays the list of available collection types which are accessible from the Content Manager sub navigation.
For each available collection type multiple entries can be created which is why each collection type is divided into 2 interfaces: the list view and the edit view (see Writing content).
The list view of a collection type displays all entries created for that collection type.
From the list view, it is possible to:
- create a new entry 1,
- make a textual search 2 or set filters 3 to find specific entries,
- if the Internationalization plugin is installed, filter by locale to display only the entries translated in a chosen locale 4,
- configure the fields displayed in the table of the list view 5,
- edit (see Writing content), duplicate , or delete (see Deleting content) an entry,
- select multiple entries to simultaneously publish, unpublish, or delete.
Sorting can be enabled for most fields displayed in the list view table (see Configuring the views of a content-type). Click on a field name, in the header of the table, to sort on that field.
Filtering entries
Right above the list view table, on the left side of the interface, a Filters button is displayed. It allows to set one or more condition-based filters, which add to one another (i.e. if you set several conditions, only the entries that match all the conditions will be displayed).
To set a new filter:
- Click on the Filters button.
- Click on the 1st drop-down list to choose the field on which the condition will be applied.
- Click on the 2nd drop-down list to choose the type of condition to apply.
- Enter the value(s) of the condition in the remaining textbox.
- Click on the Add filter button.
When active, filters are displayed next to the Filters button. They can be removed by clicking on the delete icon .
Creating a new entry
On the top right side of the list view interface, an Add new entry button is displayed. It allows to create a new entry for your collection type.
Clicking on the new entry button will redirect you to the edit view, where you will be able to write the content of the new entry (see Writing content).
New entries are only considered created once some of their content has been written and saved once. Only then will the new entry be listed in the list view.
Configuring the table fields
Above the list view table, on the right, a settings button is displayed. It allows to temporarily choose which fields to display in the table or to access permanent view settings.
Configuring the displayed field of the table in the way detailed below is only temporary: the configurations will be reset as soon as the page is refreshed or when navigating outside the Content Manager. For permanent configurations, go to the list view configuration interface by clicking on the settings button and clicking on the Configure the view button (see Configuring the views of a content-type).
To temporarily configure the fields displayed in the table:
- Click on the settings button .
- Tick the boxes associated with the field you want to be displayed in the table.
- Untick the boxes associated with the fields you do not want to be displayed in the table.
Relational fields can also be displayed in the list view. Please refer to Configuring the views of a content-type for more information on their specificities.
Single types
The Single types category of the Content Manager displays the list of available single types, which are accessible from the Content Manager sub navigation.
Unlike collection types which have multiple entries, single types are not created for multiple uses. In other words, there can only be one default entry per available single type. There is therefore no list view in the Single types category.
Clicking on a single type will directly redirect you to the edit view, where you will be able to write the content of your single type (see Writing content).