跳到主要内容

Introduction to the Content Manager

The Content Manager is a core feature of Strapi. It is always enabled by default and cannot be disabled. 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.

Tip

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.

List view of a collection type in the Content ManagerList view of a collection type in the Content Manager

From the list view, it is possible to:

Tip

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).

Filters in the Content ManagerFilters in the Content Manager

To set a new filter:

  1. Click on the Filters button.
  2. Click on the 1st drop-down list to choose the field on which the condition will be applied.
  3. Click on the 2nd drop-down list to choose the type of condition to apply.
  4. Enter the value(s) of the condition in the remaining textbox.
  5. Click on the Add filter button.
Note

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 Create 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).

Note

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.

Note

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).

Displayed fields in the settings of a list view in the Content ManagerDisplayed fields in the settings of a list view in the Content Manager

To temporarily configure the fields displayed in the table:

  1. Click on the settings button .
  2. Tick the boxes associated with the field you want to be displayed in the table.
  3. Untick the boxes associated with the fields you do not want to be displayed in the table.
Tip

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).

Single type in the Content ManagerSingle type in the Content Manager