Skip to content

Orchard makes it easy to browse available modules and themes from an online gallery and install them using the Orchard dashboard. This topic shows how to install both modules and themes from the gallery.

Orchard可以轻松浏览在线图库中的可用模块和主题,并使用Orchard仪表板进行安装。本主题说明如何从库中安装模块和主题。

Note

!注意

If your site is running under IIS, make sure you have granted read/write permissions to the `~/Themes` folder under the root of your site for the service account that is being used as the IIS application pool identity.

However, you should remove the write permissions on a production server.

Accessing and Enabling the Gallery

访问和启用图库

The gallery feature is enabled by default in Orchard. When the gallery is enabled, a Gallery tab appears at the top of the both the Themes screen and the Modules screen in the dashboard.

默认情况下,在Orchard中启用了库功能。启用图库后,图库选项卡将显示在主题屏幕和仪表板中的模块屏幕的顶部。

Note

!注意

If the gallery feature has been disabled, there will be no **Gallery** tab visible in the **Themes** or **Modules** dashboard screens.

To enable the gallery, click **Modules** in the dashboard, find the gallery feature, and then click **Enable** on the feature.

Installing a Theme from the Gallery

从库中安装主题

See Installing a Theme from the Gallery

请参阅[从库中安装主题](安装 - 主题#instorage-a-theme-from-the-gallery)

If you install a theme, it becomes available to apply to your site. If you download a theme, you save the theme package file to your local computer. You can then use the Themes screen in the Orchard dashboard to install the downloaded theme package. For more information, see Installing Themes.

如果您安装了主题,则可以将其应用于您的网站。如果下载主题,则将主题包文件保存到本地计算机。然后,您可以使用Orchard仪表板中的主题屏幕来安装下载的主题包。有关更多信息,请参阅[安装主题](安装主题)。

Previewing and Applying an Installed Theme

预览和应用已安装的主题

After installing a new theme, you can preview, enable, and apply that theme to your site by clicking Themes in the dashboard. For more information, see Previewing and Applying a Theme.

安装新主题后,您可以通过单击仪表板中的主题来预览,启用该主​​题并将其应用于您的网站。有关更多信息,请参阅[预览和应用主题](预览和应用主题)。

Installing a Module from the Gallery

从库中安装模块

To access the gallery for modules, click Modules on the dashboard and then click the Gallery tab. A set of modules appears with a pair of Install and Download links next to each module.

要访问图库的库,请单击仪表板上的 Modules ,然后单击 Gallery 选项卡。出现一组模块,每个模块旁边有一对 Install Download 链接。

As with themes, if you install a module it becomes available to use on your site. If you download a module, you save the module package file to your local computer. You can then go to the Modules screen on the dashboard, click the Installed tab, and then click Upload to install the module in an Orchard site. For more information about how to activate a module after installing it, see Installing and Upgrading Modules and Enabling and Disabling Features.

与主题一样,如果您安装了一个模块,它就可以在您的网站上使用。如果下载模块,则将模块包文件保存到本地计算机。然后,您可以转到仪表板上的 Modules 屏幕,单击 Installed 选项卡,然后单击 Upload 以在Orchard站点中安装该模块。有关如何在安装模块后激活模块的更多信息,请参阅[安装和升级模块](安装和升级模块)和[启用和禁用功能](启用和禁用功能)。

On the dashboard Modules screen, click the Installed tab. This tab displays all the modules that are installed in an Orchard site.

在仪表板模块屏幕上,单击已安装选项卡。此选项卡显示Orchard站点中安装的所有模块。

Notice that on every page in the Installed tab, there is a link that lets you upload a module package to the site.

请注意,在 Installed 选项卡的每个页面上都有一个链接,允许您将模块包上传到站点。

Displaying Additional Gallery Feeds

显示其他图库供稿

The Gallery tabs on the Modules page and the Themes page of the dashboard together display the aggregated list of themes and modules exposed by all feeds registered on your site. On the Gallery tabs for both themes and modules, you can use the Feed drop-down list to filter the display so that it shows all available items, or only the items from a selected feed. (This is only useful if you have multiple feeds registered.)

模块页面上的图库标签和仪表板的主题页面一起显示由您网站上注册的所有供稿所公开的主题和模块的汇总列表。在主题和模块的 Gallery 选项卡上,您可以使用 Feed 下拉列表过滤显示,以便显示所有可用项目,或仅显示所选Feed中的项目。 (仅当您注册了多个Feed时,此功能才有用。)

By default, the Orchard Gallery feed is registered for an Orchard site. To register additional gallery feeds see Registering Additional Gallery Feeds.

默认情况下,[Orchard Gallery feed](http://gallery.orchardproject.net/)已在Orchard站点注册。要注册其他图库供稿,请参阅[注册其他图库供稿](模块库供稿)。

Change History

改变历史

  • Updates for Orchard 1.1

  • Orchard 1.1的更新 *

    • 3-22-11: Updated screen shots and menu or UI options.