Skip to content

You can configure the general, global, and feature-specific settings for your site in the Settings panel (the menu items contained in the Settings section) of the Orchard dashboard. This topic describes these site-level settings.

您可以在Orchard仪表板的 Settings 面板( Settings 部分中包含的菜单项)中配置站点的常规,全局和功能特定设置。本主题描述了这些站点级设置。

In the Settings panel in the dashboard, the settings are arranged into categories, including General, Gallery, Comments, Media, Users, and Cache.

在仪表板的设置面板中,设置按类别排列,包括常规图库评论媒体用户,和缓存

General Settings

常规设置

To access general settings, click Settings in the Settings panel. This opens the following screen:

要访问常规设置,请单击设置面板中的设置。这将打开以下屏幕:

Note The general settings screen also displays options that are specific to the features that are enabled for your site.

注意常规设置屏幕还会显示特定于为您的站点启用的功能的选项。

In the general settings category, you can modify the following global and site-wide settings:

在常规设置类别中,您可以修改以下全局和站点范围设置:

  • Site Name. The name of your site, which is usually displayed by the applied theme.

  • 网站名称。您网站的名称,通常由应用主题显示。

  • Default Site Culture. The default culture for the site. You can also add culture codes here. For more information, see Creating Global-Ready Applications.

  • 默认网站文化。网站的默认文化。您也可以在此处添加文化代码。有关更多信息,请参阅[创建全局就绪应用程序](创建全局就绪应用程序)。

  • Page title separator. The character that is used to separate sections of a page title. For example, the default separator character for the en-US locale is a hyphen (-).

  • 页面标题分隔符。用于分隔页面标题部分的字符。例如,en-US语言环境的默认分隔符是连字符( - )。

  • Super user. A user who has administrative capability on the site, regardless of configured roles. This is usually the user who ran the Orchard installation and setup. The default user is the admin account.

  • 超级用户。无论配置的角色如何,在站点上具有管理功能的用户。这通常是运行Orchard安装和设置的用户。默认用户是admin帐户。

  • Resource Debug Mode. The mode that determines whether scripts and style sheets are loaded in a "debuggable" form or in their minimal form.

  • 资源调试模式。确定脚本和样式表是以“可调试”形式还是以最小形式加载的模式。

  • Default number of items per page. Determines the default number of items that are shown per page.

  • 每页的默认项目数。确定每页显示的默认项目数。

  • Base URL. The base URL for your site.

  • 基本网址。您网站的基本网址。

  • Maximum number of items per page. Determines the maximum number of items that are shown per page. Leave 0 for unlimited.

  • 每页最大项目数。确定每页显示的最大项目数。保留0无限制。

  • Default Time Zone. Determines the default time zone used when displaying and editing dates and times.

  • 默认时区。确定显示和编辑日期和时间时使用的默认时区。

  • Default Site Calendar. Determines the default calendar used when displaying and editing dates and times. The 'Culture calendar' option means the default calendar for the culture of the current request will be used (not necessarily the configured default site culture).

  • 默认站点日历。确定显示和编辑日期和时间时使用的默认日历。 “文化日历”选项表示将使用当前请求文化的默认日历(不一定是配置的默认站点文化)。

图库设置

To access settings for the gallery, click Gallery in the Settings panel. This opens the following screen:

要访问图库的设置,请单击设置面板中的图库。这将打开以下屏幕:

In the gallery feed settings, you can add or delete a feed using the following settings:

在图库供稿设置中,您可以使用以下设置添加或删除供稿:

  • Add Feed. Lets you specify the URL to a gallery feed.

  • 添加Feed 。允许您指定图库供稿的URL。

  • Delete. Lets you remove an existing gallery feed.

  • 删除。允许您删除现有的图库供稿。

For more information about how to add feeds to the gallery, see Registering Additional Gallery Feeds.

有关如何向图库添加订阅源的更多信息,请参阅[注册其他图库订阅](/ Documentation / Module-gallery-feeds)。

Comments Settings

评论设置

To access settings for comments, click Comments in the Settings panel. This opens the following screen:

要访问评论设置,请单击设置面板中的评论。这将打开以下屏幕:

In the comments settings, you can enable or disable the following features:

在注释设置中,您可以启用或禁用以下功能:

  • Comments must be approved before they appear. Requires user comments to be approved by an administrator or moderator before they become visible on the site.

  • 评论必须在出现之前获得批准。要求用户评论在管理员或版主在网站上显示之前获得批准。

  • Automatically close comments after. Number of days after comments are automatically closed. Leave to 0 to have them always available.

  • 后自动关闭评论。评论自动关闭后的天数。保留为0以使它们始终可用。

For more information about how to work with comments, see Moderating Comments.

有关如何使用注释的详细信息,请参阅[审核注释](审核注释)。

User Settings

用户设置

To access user settings, click Users in the Settings panel. This opens the following screen:

要访问用户设置,请单击设置面板中的用户。这将打开以下屏幕:

In the user settings, you can enable or disable the following settings in order to customize user registration:

在用户设置中,您可以启用或禁用以下设置以自定义用户注册:

  • Users can create new accounts on the site. Configures the site to let users create a new account.

  • 用户可以在网站上创建新帐户。配置站点以允许用户创建新帐户。

  • Display a link to enable users to reset their password. Provides users with a way to reset their password.

  • 显示一个链接,使用户可以重置密码。为用户提供重置密码的方法。

  • Users must verify their email address. Requires users to confirm their email address during registration.

  • 用户必须验证其电子邮件地址。要求用户在注册期间确认其电子邮件地址。

  • Users must be approved before they can log in. Requires administrative approval of new accounts before users can log in.

  • 用户必须先获得批准才能登录。在用户登录之前,需要对新帐户进行管理批准。

Cache

高速缓存

To access caches settings like Default Cache Duration, Max Age, Vary Query String Parameters, Vary Request Headers and Ignored Urls.

访问缓存设置,如默认缓存持续时间,最大年龄,变量查询字符串参数,变化请求标头和忽略的URL。

Change History

改变历史

  • Updates for Orchard 1.8

  • Orchard 1.8的更新 *

    • 9-8-14: Updated screen shots for dashboard settings. Added cache section.
  • Updates for Orchard 1.1

  • Orchard 1.1的更新 *

    • 3-29-11: Added sections for new screens in the dashboard. Updated existing screen shots.