Skip to content

Orchard 1.7.1

建立:1.7.1

Published: 9/16/2013

发布时间:2013年9月16日

How to Install Orchard

如何安装Orchard


To install Orchard using Web PI, follow these instructions:

要使用Web PI安装Orchard,请按照以下说明操作:

http://docs.orchardproject.net/Documentation/Installing-Orchard.

http://docs.orchardproject.net/Documentation/Installing-Orchard

Web PI will detect your hardware environment and install the application.

Web PI将检测您的硬件环境并安装该应用程序。

Alternatively, to install the release manually, download the Orchard.Web.1.7.1.zip file.

或者,要手动安装发行版,请下载Orchard.Web.1.7.1.zip文件。

http://docs.orchardproject.net/Documentation/Manually-installing-Orchard-zip-file

http://docs.orchardproject.net/Documentation/Manually-installing-Orchard-zip-file

The zip contents are pre-built and ready-to-run. Simply extract the contents of the Orchard

zip内容是预先构建的并且可以立即运行。只需提取果园的内容即可

folder from the zip contents to an IIS virtual directory (or site root) and then point your

从zip内容到IIS虚拟目录(或站点根目录)的文件夹,然后指向您的

browser to the site. You can also just extract to a local folder and open the Orchard

浏览器到网站。您也可以只提取到本地文件夹并打开Orchard

folder in Visual Studio or WebMatrix as a web site (but not as a web application).

Visual Studio或WebMatrix中的文件夹作为Web站点(但不是Web应用程序)。

Please make sure you have a machine key

请确保您有机器钥匙

http://docs.orchardproject.net/Documentation/Setting-up-a-machine-key

http://docs.orchardproject.net/Documentation/Setting-up-a-machine-key

or you may experience frequent disconnections.

或者您可能会经常断开连接。

What file to download?

要下载什么文件?


If you just want to use Orchard and don't care about the source code, Orchard.Web.1.7.1.zip

如果你只想使用Orchard而不关心源代码,Orchard.Web.1.7.1.zip

is what you want to use, preferably through the WebPI instructions.

是你想要使用的,最好是通过WebPI指令。

Do not attempt to build the WebPI version in VS. Use the full source if you want to use VS.

不要尝试在VS中构建WebPI版本。如果要使用VS,请使用完整源代码。

If you want to take a look at the source code or want to be able to build the application in Visual Studio,

如果您想查看源代码或希望能够在Visual Studio中构建应用程序,

Orchard.Source.1.7.1.zip is fine.

Orchard.Source.1.7.1.zip很好。

If you want to setup a development environment for patch or module development,

如果要为修补程序或模块开发设置开发环境,

you should clone the repository by following the instructions here:

您应该按照此处的说明克隆存储库:

http://docs.orchardproject.net/Documentation/Setting-up-a-source-enlistment

http://docs.orchardproject.net/Documentation/Setting-up-a-source-enlistment

Branches are described here: http://docs.orchardproject.net/Documentation/Developer-FAQ#Whatarethedefaultanddevbranches?WhichoneshouldIbeusing?

分支在这里描述:http://docs.orchardproject.net/Documentation/Developer-FAQ#Whatarethedefaultanddevbranches?WhichoneshouldIbeusing?

Who should use this software?

谁应该使用这个软件?


This software is in version 1.7.1. The code is in a stable state and constitutes

该软件的版本为1.7.1。代码处于稳定状态并构成

a solid foundation for building applications, themes and modules.

为构建应用程序,主题和模块奠定坚实的基础。

Suggestions are welcome in the discussion forums.

欢迎在论坛中提出建议。

You are allowed to use this software in any way that is compatible with the new BSD license.

您可以以与新BSD许可证兼容的任何方式使用此软件。

This includes commercial derivative work.

这包括商业衍生作品。

What's new?

什么是新的?


Orchard 1.7.1 fixes bugs and introduces the following features:

Orchard 1.7.1修复了bug并引入了以下功能:

  • Azure: (Daniel Stolt)

  • * Azure * :( Daniel Stolt)

    • New Orchard.Azure
  • 新的Orchard.Azure *

    * Media Library Storage in Windows Azure Blob Storage
    
    * Output Cache using Windows Azure Cache Services
    
    * Database Cache using Windows Azure Cache Services
    
  • Visual Studio

  • 视觉工作室 *

    • Deploy Cloud Service directly from Visual Studio
  • 直接从Visual Studio部署Cloud Service *

    • Better MsDeploy and Publish support
  • 更好的MsDeploy和Publish支持 *

    • Use of XML transform files (Web.Release.config) for Web.config, log4net.config and HostComponents.config
  • 对Web.config,log4net.config和HostComponents.config使用XML转换文件(Web.Release.config) *

  • New "check all" options in the admin (Richard Garside)

  • 管理员中的新“全部检查”选项(Richard Garside) *

  • Orchard.OutputCache: Fixed several bugs related to custom content returning blank pages

  • Orchard.OutputCache :修复了与返回空白页面的自定义内容相关的几个错误

  • Orchard.Tokens: New {Content.Body}, {Text.TrimEnd} and also Media Library Picker Field tokens

  • Orchard.Tokens :新的{Content.Body},{Text.TrimEnd}以及媒体库选取器字段令牌

  • Orchard.ImportExport:

  • Orchard.ImportExport

    • Permissions
  • 权限 *

    • Media parts
  • 媒体部分 *

  • Orchard.Workflows:

  • Orchard.Workflows

    • New Custom Forms event activity
  • 新的自定义表单事件活动 *

    • Decoupled specialized activities from the Workflows module and moved some activities to specific modules
  • 从Workflows模块中分离出专门的活动,并将一些活动移动到特定的模块 *

  • Orchard.MediaLibrary: Fixed XmlRpcHandler allowing blogging clients to work with Media Library

  • Orchard.MediaLibrary :修复了XmlRpcHandler,允许博客客户端使用媒体库

  • Orchard.Indexing: Added the container id to the search index

  • Orchard.Indexing :将容器ID添加到搜索索引中

  • Orchard.Antispam: New JavaScriptAntiSpamPart (Lombiq)

  • Orchard.Antispam :新的JavaScriptAntiSpamPart(Lombiq)

The full list of fixed bugs for this release can be found here:

可以在此处找到此版本的已修复错误的完整列表:

  • Bugs fixed in 1.7.1.

  • [修正了1.7.1中的错误](https://orchard.codeplex.com/workitem/list/advanced?keyword=\u0026status=Resolved|Closed\u0026type=All\u0026priority=All\u0026release=Orchard%201.7.1\u0026assignedTo=All\u0026component=All\u0026sortField=LastUpdatedDate\u0026sortDirection=Scendingnding\u0026page = 0&reasonClosed =全部)。 *

How to upgrade from a previous version

如何从以前的版本升级


You can find migration instructions here: http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard.

您可以在此处找到迁移说明:http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard

No matter what migration path you take, please take the precaution of making a backup of your

无论您采取何种迁移路径,请采取预防措施备份您的

site and database first.

站点和数据库第一。

Upgrading from Orchard 1.3 and earlier

从Orchard 1.3及更早版本升级

Orchard 1.4 introduced breaking changes in the way content URLs are managed. Because of that,

Orchard 1.4引入了内容URL管理方式的重大变化。因此,

and if you're migrating from version 1.3 or earlier, the Upgrade module can be used to migrate

如果您要从1.3或更早版本迁移,可以使用升级模块进行迁移

data. If you upgrade a site to 1.7 from 1.3 or earlier and can't

数据。如果您将站点从1.3或更早版本升级到1.7而不能

see your contents, you probably need to run this module. In order to do that, go to the admin

看到你的内容,你可能需要运行这个模块。为此,请转到管理员

section of the site (by appending /admin to the URL where the home page should be), then go

网站的一部分(通过将/ admin添加到主页所在的URL),然后转到

to Modules and enable the feature.

到模块并启用该功能。

The feature, once enabled, adds a new entry to the admin menu: "Upgrade to 1.7", that can

该功能一旦启用,就会在管理菜单中添加一个新条目:“升级到1.7”,即可

migrate the Route data of your content items as well as field data from older field modules, and menu items.

迁移内容项的Route数据以及旧字段模块和菜单项中的字段数据。

Upgrading from Orchard 1.6 and earlier

从Orchard 1.6及更早版本升级

  • Enable the Upgrade module

  • 启用升级模块 *

Migrating Content Item Picker Field contents

迁移内容项目选择器字段内容

In Orchard 1.7 this field has been moved to a more appropriate module, and thus needs it definitions to be migrated

在Orchard 1.7中,此字段已移至更合适的模块,因此需要迁移定义

in order to reflect this change.

为了反映这种变化。

  • Click on Upgrade To 1.7 from the menu

  • 单击菜单中的Upgrade To 1.7 *

  • Select the Content Picker tab and click Migrate

  • 选择内容选择器选项卡,然后单击迁移

Migrating Contrib.Taxonomies module

迁移Contrib.Taxonomies模块

In Orchard 1.7 the Contrib.Taxonomies module has been integrated into the core modules as the Orchard.Taxonomies module.

在Orchard 1.7中,Contrib.Taxonomies模块已作为Orchard.Taxonomies模块集成到核心模块中。

If you want to use the new module then you need to follow these steps. It will convert all your content and metadata

如果要使用新模块,则需要执行以下步骤。它将转换您的所有内容和元数据

which were associated with Contrib.Taxonomies.

与Contrib.Taxonomies相关联。

  • Disable the module Contrib.Taxonomies

  • 禁用模块Contrib.Taxonomies *

  • Enable the module Orchard.Taxonomies

  • 启用模块Orchard.Taxonomies *

  • Click on Upgrade To 1.7 from the menu

  • 单击菜单中的Upgrade To 1.7 *

  • Select the Taxonomies tab and click Migrate

  • 选择Taxonomies选项卡,然后单击 Migrate

  • Finally, update any template which was previously using the Contrib.Taxonomies templates

  • 最后,更新以前使用Contrib.Taxonomies模板的任何模板 *

Importing Media files into the Media Library

将媒体文件导入媒体库

In Orchard 1.7 a new media management module is provided. In order to use it you will have to import all your media files

在Orchard 1.7中,提供了新的媒体管理模块。要使用它,您必须导入所有媒体文件

to this new module. It will create a dedicated content item for each of your files. Ultimately it will also convert

这个新模块。它将为您的每个文件创建一个专用内容项。最终它也将转换

all the current usage of Media Picker Fields to the new Media Library Picker Field.

媒体选择器字段当前在新媒体库选取器字段中的使用情况。

  • Disable the module Media

  • 禁用模块媒体 *

  • Enable the module Media Library

  • 启用模块媒体库 *

  • Click on Upgrade To 1.7 from the menu

  • 单击菜单中的Upgrade To 1.7 *

  • Select the Media Library tab and click Migrate

  • 选择媒体库选项卡,然后单击迁移

  • In the Media Picker Field section click Migrate

  • 在“媒体选择器字段”部分中,单击迁移

  • Finally, update any template which was previously using the Media Picker Field directly

  • 最后,更新以前直接使用Media Picker Field的任何模板 *

Contributors

贡献者


This software would not exist without the community. In particular, for this release,

没有社区,该软件将不存在。特别是,对于此版本,

we should all be grateful to the following people who contributed patches and features:

我们都应该感谢以下提供补丁和功能的人:

  • Antoine Griffard (agriffard)

  • Antoine Griffard([agriffard](http://www.codeplex.com/site/users/view/agriffard))

  • Bertrand Le Roy (bertrandleroy)

  • Bertrand Le Roy([bertrandleroy](http://www.codeplex.com/site/users/view/bertrandleroy))

  • (bsdr)

  • ([bsdr](https://www.codeplex.com/site/users/view/bsdr))

  • Benjamin Grabkowitz (bgrabkowitz)

  • Benjamin Grabkowitz([bgrabkowitz](https://www.codeplex.com/site/users/view/bgrabkowitz))

  • Caoxiang Kun (caoxiangkun)

  • 曹祥坤([caoxiangkun](https://www.codeplex.com/site/users/view/caoxiangkun))

  • Daniel Dabrowski (rodpl)

  • Daniel Dabrowski([rodpl](https://www.codeplex.com/site/users/view/rodpl))

  • Daniel Stolt (Decorum)

  • Daniel Stolt([Decorum](https://www.codeplex.com/site/users/view/Decorum))

  • David Cornish (DavidCornish)

  • David Cornish([DavidCornish](https://www.codeplex.com/site/users/view/DavidCornish))

  • Erik Oppedijk ( erik_oppedijk)

  • Erik Oppedijk([erik_oppedijk](https://www.codeplex.com/site/users/view/erik_oppedijk))

  • Gilian Keulens (Walance)

  • Gilian Keulens([Walance](http://www.codeplex.com/site/users/view/Walance))

  • Thierry Fleury (Kirix)

  • Thierry Fleury([Kirix](http://www.codeplex.com/site/users/view/Kirix))

  • Jasper Dunker (jasperd)

  • Jasper Dunker([jasperd](http://www.codeplex.com/site/users/view/jasperd))

  • Jeff Bullock (j3ffb)

  • Jeff Bullock([j3ffb](http://www.codeplex.com/site/users/view/j3ffb))

  • Jim Macdonald (Jimasp)

  • Jim Macdonald([Jimasp](http://www.codeplex.com/site/users/view/Jimasp))

  • John Murdoch (jrmurdoch)

  • John Murdoch([jrmurdoch](http://www.codeplex.com/site/users/view/jrmurdoch))

  • Kamil Serwus (beny)

  • Kamil Serwus([beny](http://www.codeplex.com/site/users/view/beny))

  • Kevin Mulder (kmulder)

  • Kevin Mulder([kmulder](http://www.codeplex.com/site/users/view/kmulder))

  • Michael Petrinolis (Redbyron)

  • Michael Petrinolis([Redbyron](http://www.codeplex.com/site/users/view/Redbyron))

  • Nuno Duarte (nduarte)

  • Nuno Duarte([nduarte](https://www.codeplex.com/site/users/view/nduarte))

  • Nicholas Mayne (Jetski5822)

  • Nicholas Mayne([Jetski5822](http://www.codeplex.com/site/users/view/Jetski5822))

  • Piotr Szmyd (pszmyd)

  • Piotr Szmyd([pszmyd](https://www.codeplex.com/site/users/view/pszmyd))

  • Richard Garside (RichardGarside)

  • Richard Garside([RichardGarside](https://www.codeplex.com/site/users/view/RichardGarside))

  • Sebastien Ros (sebastienros)

  • Sebastien Ros([sebastienros](http://www.codeplex.com/site/users/view/sebastienros))

  • Sipke Schoorstra (sfmskywalker)

  • Sipke Schoorstra([sfmskywalker](http://www.codeplex.com/site/users/view/sfmskywalker))

  • (Timbioz)

  • ([Timbioz](http://www.codeplex.com/site/users/view/Timbioz))

  • Zoltán Lehóczky (Piedone)

  • ZoltánLehóczky([Piedone](http://www.codeplex.com/site/users/view/Piedone))