Skip to main content

在版本中包含内容 Enterprise Strapi Cloud Team

¥Including content in a release Enterprise Strapi Cloud Team

使用 发布 功能,你可以将多个条目分组以将它们一起发布。向版本添加条目是通过内容管理器完成的。你还可以在更新条目时从版本中删除条目。

¥Using the Releases feature, you can group several entries to publish them altogether. Adding entries to a release is done from the Content Manager. You can also remove an entry from a release while updating the entry.

☑️ Prerequisites
  • 在将条目添加到版本之前,你必须从 发布 页面创建版本。

    ¥Before entries can be added to a release, you must create a release from the Releases page.

  • 将内容添加到版本需要 Content-Releases 插件的适当权限(请参阅 配置管理员角色)。

    ¥Adding content to a release requires the appropriate permissions for the Content-Releases plugin (see configuring administrator roles).

向一个版本添加多个条目

¥Adding multiple entries to a release

可以从内容管理器的列表视图将多个条目添加到 release

¥Multiple entries can be added to a release from the list view of the Content Manager.

要将条目添加到版本:

¥To add entries to a release:

  1. 从内容管理器的列表视图中,通过勾选条目记录左侧的框来选择要添加的条目。

    ¥From the list view of the Content Manager, select which entries you want to add by ticking the box on the left side of the entries' record.

  2. 单击表标题上方的“添加到版本”按钮。

    ¥Click on the Add to release button located above the header of the table.

  3. 在模式中,选择要将这些条目添加到哪个版本。

    ¥In the modal, select which release to add these entries to.

  4. 单击“发布”或“取消发布”按钮来决定在发布版本时是否发布或取消发布这些条目,然后单击“继续”。

    ¥Click on the Publish or Unpublish button to decide whether these entries will be published or unpublished when the release is published, then click Continue.

Including content in a releaseIncluding content in a release

向发布添加条目

¥Adding an entry to a release

在从内容管理器的编辑视图中编辑条目时,可以将条目添加到 release

¥An entry can be added to a release while editing it from the edit view of the Content Manager.

要将条目添加到版本:

¥To add an entry to a release:

  1. 在右侧边栏的“版本”框中,单击“+ 添加到版本”按钮。

    ¥In the Releases box in the right sidebar, click the + Add to release button.

  2. 选择要添加此条目的版本。

    ¥Select which release to add this entry to.

  3. 单击“发布”或“取消发布”按钮,具体取决于你希望在发布版本本身时发布还是取消发布该条目,然后单击“继续”。

    ¥Click on the Publish or Unpublish button depending on whether you want the entry to be published or unpublished when the release itself is published, then click Continue.

右侧边栏中的“版本”框应显示该条目包含在哪个版本中。

¥The Releases box in the right sidebar should show which release(s) the entry is included in.

👀 信息

如果启用 发布安排 并将条目添加到计划发布中,则还将显示发布日期和时间。

¥If Releases scheduling is enabled and the entry is added to a scheduled release, the release date and time will also be displayed.

从版本中删除条目

¥Removing an entry from a release

在内容管理器的编辑视图中编辑条目时,可以从 release 中删除条目。

¥An entry can be removed from a release while editing it from the edit view of the Content Manager.

要从版本中删除条目:

¥To remove an entry from a release:

  1. 在右侧边栏的“版本”框中,单击版本名称下方的“...”三个点。

    ¥In the Releases box in the right sidebar, click the three dots below the name of the release.

  2. 单击从发布中删除按钮。

    ¥Click the Remove from release button.