Skip to content

Orchard 1.7

建立:1.7

Published: 7/17/2013

发布时间:2013年7月17日

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.zip file.

或者,要手动安装发行版,请下载Orchard.Web.1.7.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.zip

如果你只想使用Orchard而不关心源代码,Orchard.Web.1.7.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.zip is fine.

Orchard.Source.1.7.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. The code is in a stable state and constitutes

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

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 fixes bugs and introduces the following features:

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

  • Clay: This version doesn't use Clay anymore and improves memory and raw performance.

  • 粘土:此版本不再使用Clay,并提高内存和原始性能。

  • Better performance for the event bus.

  • 为事件总线提供更好的性能。 *

  • Better performance for the Import/Export module.

  • 导入/导出模块的性能更佳。 *

  • Search: Possibility to create multiple search indexes.

  • 搜索:可以创建多个搜索索引。

  • Module recipes: In the Modules page, a new Recipes tab lets you run custom recipes to automate tedious tasks.

  • 模块配方:在“模块”页面中,新的“配方”选项卡允许您运行自定义配方以自动执行繁琐的任务。

  • Tokens: A new tokens syntax is added on top of the current one. The preferred syntax is now #{token}.

  • 标记:在当前标记之上添加新的标记语法。首选语法现在是#{token}

  • Shape Menu Items: You can create menu items which will be rendered using shapes.

  • 形状菜单项:您可以创建将使用形状渲染的菜单项。

  • Comments: The whole comments module has been rewritten to provide a more Orchard friendly implementation, and also

  • 评论:整个评论模块已被重写,以提供更多的Orchard友好实施,以及

provides an option for threaded comments.

提供线程注释的选项。

  • Anti Spam: The anti spam module has been updated to be reusable by any module, and also provides custom Content Parts

  • 反垃圾邮件:反垃圾邮件模块已更新为可由任何模块重复使用,还提供自定义内容部件

for reCaptcha, spam filters and submission limits.

对于reCaptcha,垃圾邮件过滤器和提交限制。

  • Media Library: This new module lets you manage Media as content items and also import any media from external services.

  • 媒体库:此新模块允许您将媒体作为内容项目进行管理,还可以从外部服务导入任何媒体。

  • Image Editor: Provides a web based image editor for cropping, resizing and applying filters to raw images.

  • 图像编辑器:提供基于Web的图像编辑器,用于裁剪,调整大小并将滤镜应用于原始图像。

  • Media Processing: Can create custom image filters and resize image automatically.

  • 媒体处理:可以创建自定义图像滤镜并自动调整图像大小。

  • Workflows: This new module lets you create content workflows and long running workflows.

  • 工作流程:此新模块可让您创建内容工作流程和长时间运行的工作流程。

  • C# Scripting: Provides an execution environment for custom C# code in content item validation and in Workflows.

  • C#Scripting :为内容项验证和工作流程中的自定义C#代码提供执行环境。

  • Orchard.Taxonomies: This is the Contrib.Taxonomies module integrated into Core.

  • Orchard.Taxonomies :这是集成到Core中的Contrib.Taxonomies模块。

  • Orchard.OutputCache: This is the Contrib.Cache module integrated into Core.

  • Orchard.OutputCache :这是集成到Core中的Contrib.Cache模块。

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

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

  • Bugs fixed in 1.7.

  • [修复1.7中的错误](https://orchard.codeplex.com/workitem/list/advanced?keyword=\u0026status=Resolved|Closed\u0026type=All\u0026priority=All\u0026release=Orchard%201.7\u0026assignedTo=All\u0026component=All\u0026sortField=LastUpdatedDate\u0026sortDirection=Scendingnding@page=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:

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

  • Andrew Connell (andrewconnell)

  • Andrew Connell([andrewconnell](http://www.codeplex.com/site/users/view/andrewconnell))

  • Antoine Griffard (agriffard)

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

  • Benedek Farkas (nightwolf226)

  • Benedek Farkas([nightwolf226](https://www.codeplex.com/site/users/view/nightwolf226))

  • Bertrand Le Roy (bertrandleroy)

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

  • Damien Clarke (damoclarke)

  • Damien Clarke([damoclarke](http://www.codeplex.com/site/users/view/damoclarke))

  • Jacky Hsu (twomeetings)

  • Jacky Hsu([twomeetings](http://www.codeplex.com/site/users/view/twomeetings))

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

  • Jorge Gamba (jorgegamba)

  • Jorge Gamba([jorgegamba](http://www.codeplex.com/site/users/view/jorgegamba))

  • (Jimasp)

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

  • Kees Schouten (Znowman)

  • Kees Schouten([Znowman](http://www.codeplex.com/site/users/view/Znowman))

  • Ken Wilkinson (wilk)

  • Ken Wilkinson([wilk](http://www.codeplex.com/site/users/view/wilk))

  • Matt Melling (kobowi)

  • Matt Melling([kobowi](http://www.codeplex.com/site/users/view/kobowi))

  • Michael Petrinolis (Redbyron)

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

  • Mirza Dervišević (Mirza)

  • MirzaDervišević([Mirza](http://www.codeplex.com/site/users/view/Mirza))

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

  • Rafael Medeiros (rafaelmedeiros)

  • Rafael Medeiros([rafaelmedeiros](http://www.codeplex.com/site/users/view/rafaelmedeiros))

  • Sebastien Ros (sebastienros)

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

  • Sergey Romanchuk (Rezet)

  • Sergey Romanchuk([Rezet](http://www.codeplex.com/site/users/view/Rezet))

  • Sipke Schoorstra (sfmskywalker)

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

  • Stanley Goldman (StanleyGoldman)

  • Stanley Goldman([StanleyGoldman](http://www.codeplex.com/site/users/view/StanleyGoldman))

  • Travis James (GQAdonis)

  • Travis James([GQAdonis](http://www.codeplex.com/site/users/view/GQAdonis))

  • Zoltán Lehóczky (Piedone)

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