Autoroute (OrchardCore.Autoroute) 此模块允许您为内容项指定自定义URL(永久链接 permalink). Autoroute Part 将此部分附加到内容类型以指定内容项的自定义URL. 然后,转到内容类型的定义并编辑 Autoroute Part: 使用Liquid表达式输入Pattern,该表达式将表示生成的slug. 具有TitlePart的内容的示例将使用它来生成slug: {{ ContentItem | display_text | slugify…
原文连接:https://www.cnblogs.com/Qbit/p/9746442.html 转载请注明出处 介绍 Orchard Core Modules库提供了一种机制,可以拥有一个独立的模块化系统,您可以选择加入特定的应用程序框架,而不必依赖于您的应用程序设计. 原文[[The library Orchard Core Modules provides a mechanism to have a self-contained modular system where you can o…
Code Generation Templates 翻译原文:https://www.cnblogs.com/Qbit/p/9746457.html转载请注明出处 Orchard Core Templates使用dotnet新模板配置从命令shell创建新网站,主题和模块. 有关dotnet new的更多信息,请访问: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new 安装Orchard Cms模板 安装.NET Core…
Title (OrchardCore.Title) 标题模块提供Title Part ,允许用户定义内容项的标题.它还定义了ContentItemMetadata方面的DisplayText属性 Theming The following shapes are rendered when the Title Part is attached to a content type. Name Display Type Default Location Model Type TitlePart Det…
CMS Modules »Contents Contents (OrchardCore.Contents) 此模块提供内容管理服务. Liquid 您可以使用“content ”属性从liquid 视图和templates 访问内容项. 默认情况下,您可以按别名或内容项ID检索内容. 其他模块(如Alias和Autoroute)允许您通过其他标识符检索内容. You can access content items from liquid views and templates by using…
原文地址:http://docs.orchardproject.net/Documentation/Getting-around-the-dashboard 想要查看文档目录请用力点击这里 最近想要学习了解orchard,但却没有找到相关的中文文档,只有英文文档.于是决定自行翻译,以便日后方便翻阅. 转载请注明原作者与出处. 本人英文水平有限,错误之处欢迎指出以便修正. Dashboard相关 该主题内容已在Orchard1.8版本下测试通过. 通过Orchard dashboard管理站点,可…
Body (OrchardCore.Html) Theming Shapes 将HtmlBodyPart附加到内容类型时,将呈现以下形状(Shapes) Name Display Type Default Location Model Type HtmlBodyPart Detail Content:5 HtmlBodyPartViewModel HtmlBodyPart Summary Content:10 HtmlBodyPartViewModel HtmlBodyPartViewModel…
本系列翻译顺序完全参照 官方顺序 原文地址:https://orchardcore.readthedocs.io/en/latest/ Orchard Core 中文文档翻译(一)关于Orchard Core Orchard Core 文档翻译 (二)代码生成模板 Code Generation Templates Orchard Core 文档翻译 (三) Orchard Core Modules Orchard Core 文档翻译 (四)CMS ModulesTitle (OrchardCo…
译自:http://www.ideliverable.com/blog/orchard-core-workflows-walkthrough-content-approval 转载请注明出处, 原文地址:https://www.cnblogs.com/Qbit/p/orchardcore-Workflow.html 为了更好地了解新的Workflows模块,我们将创建一个工作流程来尝试一些新的活动.让我们创建一个内容审批工作流程,为以下流程建模: 作为作者,我可以向某个HTTP端点提交新文章.…
ExpandoObject与DynamicObject的使用   using ImpromptuInterface; using System; using System.Dynamic; namespace ConsoleApp2 { class Program { static void Main(string[] args) { dynamic expando = new ExpandoObject(); expando.name = "cys"; expando.Add = n…