我正在尝试更改Orchard.Setup模块,以便可以使用MySQL作为数据库安装Orchard CMS 1.3.10。
我来得太久了,以至于我在图形用户界面中安装了MySQL,当我按下设置按钮时,我从orchard得到了这个错误消息:
The value 'MySql' is not valid for DatabaseOptions.
但是我找不到如何将MySQL添加为DatabaseOptions,还有其他人可以让它与MySql一起工作吗?
MySQL的旧模块与Orchard CMS的最新版本不兼容,这就是为什么我自己做它的原因,如果我让它工作,我将把它开放给其他人使用。
具体来说,我将使用Orchard CMS作为现有网站内容编辑器的后端。
我的网站太复杂了,无法将其封装到Orchard自定义模块中,因此我决定使用Orchard的独立实例作为后端,并在我的代码中手动查询和显示内容项。
我想找到如何使用它的API从Orchard获取内容项的方法。
下面是一些我想要实现的伪代码:
// somewhere in my site, not in the Orchard application
IOrchardServices orchardFacade = CreateOrchardSystemSomeWay();
IContentManager contentMa
我有一个使用外部库的Orchard CMS模块。我需要使用库中的一些类作为果园记录的一部分。例如,外部程序集包含类。
public class Operation {
public virtual long Id { get; set; }
public virtual string OperationType { get; set; }
}
我必须将其存储在数据库中,将其与Orchard IRepository一起使用,并将其用作其他Orchard CMS记录的一部分,例如
public class HistoryRecord {
public virtua
我想在果园CMS head中添加Bootstrap推荐的shims。通常,我会添加以下内容。
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5
我使用orchard cms.I。我在orchard.but中添加了ckeditor模块,当我想要添加博客文章时,我看到了这个错误:
The type or namespace name 'CKEditor' could not be found (are you missing a using directive or an assembly reference?)
in this source ...\src\Orchard.Web\Modules\CKEditor\Views\CKEditor.Config.cshtml
有谁可以帮我?
当我试图将Orchard CMS安装到它自己的网站上时,IIS创建了一个名为Orchard的web池。提供连接字符串之后,
Data Source=(local);Initial Catalog=Orchard;Integrated Security=True;MultipleActiveResultSets=True
果园安装程序给了我一个错误
Login failed for user 'IIS APPPOOL\Orchard'
尽管我可能会尝试,但我无法找到或让Server接受此用户名。我该怎么做?现在,我刚刚安装了一个内部的Orchard,即SQL数据库。
在基于web的“Get Started”页面中,使用SQL Server Express和此连接字符串(正确):
Data Source=.;Integrated Security=True;Initial Catalog=Orchard
数据库存在且为空。
我得到了这个错误:
Setup failed: An exception was thrown while invoking the constructor 'Void .ctor(Orchard.Environment.Configuration.ShellSettings, Orchard.Data.ISessionFacto
我刚刚下载了Orchard CMS的1.6.1源代码。
我将解决方案文件加载到Visual Studio 2012学习版中,得到了722个错误,包括:
Error 919 The type or namespace name 'WhenAttribute' could not be found (are you missing a using directive or an assembly reference?) C:\inetpub\wwwroot\Orchard\Orchard.Profile\Tests\HttpClient.cs 29 10 Orchard.