上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: DataSource={64DD06B8-32BD-457B-9BE5-AA5798AF3AE0}&IncludeTemplatesForDisplay=Folder,Js File,Css File&IncludeTemplatesForSelection=Js File,Css File 阅读全文
posted @ 2024-01-17 15:11 灵火 阅读(30) 评论(0) 推荐(0)
摘要: https://github.com/kamsar/Dianoga App_Config App_Data bin 安装 阅读全文
posted @ 2023-12-28 11:19 灵火 阅读(24) 评论(0) 推荐(0)
摘要: 新建一个 ShowConfig.aspx 文件,内部写入如下,然后放入 web 根目录即可通过 /ShowConfig.aspx 访问 config。 <%@ Page Language="C#" AutoEventWireup="true" %> <%@ Import Namespace="Sit 阅读全文
posted @ 2023-12-26 17:26 灵火 阅读(25) 评论(0) 推荐(0)
摘要: HOST 路径 C:\Windows\System32\drivers\etc\hosts 前往 HOST 加入 185.199.108.133 raw.githubusercontent.com 测试是否成功 (若无任何信息返回即成功): node -e "require('https').get 阅读全文
posted @ 2023-12-21 23:22 灵火 阅读(589) 评论(0) 推荐(0)
摘要: 基础 CURD Database db = Sitecore.Configuration.Factory.GetDatabase("master"); Language lang = Language.Parse("en"); TemplateItem folderTemplate = db.Get 阅读全文
posted @ 2023-12-12 12:31 灵火 阅读(54) 评论(0) 推荐(0)
摘要: 在设置面板输入 smooth: 开启后光标移动有不错的平滑效果。 阅读全文
posted @ 2023-12-02 19:02 灵火 阅读(1104) 评论(0) 推荐(0)
摘要: reference: https://sitecorecorner.com/2014/08/27/useful-sitecore-query-string-parameters/ sc_mode – Used to change the display mode of the website. Ca 阅读全文
posted @ 2023-11-28 22:53 灵火 阅读(42) 评论(1) 推荐(1)
摘要: source 在 Sitecore 里的 MVC 没有 @Html.RenderSection,所以使用以下的一个替代方案: public static class HtmlRenderExtensions { /// <summary> /// Delegate script/resource/e 阅读全文
posted @ 2023-11-11 21:53 灵火 阅读(42) 评论(0) 推荐(0)
摘要: 前提 Sitecore 的 @Html.Sitecore().Field("file icon", item, new {@class="icon", }) 确实也挺好用的,但是局限于 item ,当有多个 sub item,或者其他地方的 item,远不如使用 @Model 方便。 所以自己写了个 阅读全文
posted @ 2023-11-10 17:09 灵火 阅读(36) 评论(0) 推荐(0)
摘要: 相关文档: 配置多个Sitecore实例 实例结构: 有两个 Sitecore 实例:Instance1 和 Instance2,分别管理各自的 Content,在 Publishing 的时候调用 Shared Instance(共享Sitecore实例)来作对应的 Solr 索引构建,最后相关的 阅读全文
posted @ 2023-11-09 10:02 灵火 阅读(42) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页