按照主题 - 我想在新的Strip中创建一个自定义按钮;以前用于Sitecore 7.5的指令(在/ sitecore / content / Applications / Content Editor / Ribbons / Strips等下添加条带项目)在8.1中似乎不再起作用。
任何人都可以链接详细文档吗?
答案 0 :(得分:1)
首先,右键单击工具栏,看看是否列出了新菜单,如下面的屏幕截图所示。如果没有,请参阅以下步骤:
导航到/sitecore/content/Applications/Content Editor/Ribbons/Chunks
并创建一个新块。模板位于/sitecore/templates/System/Ribbon/Chunk
在新创建的Chunk中创建您的按钮,该按钮基于模板/sitecore/templates/System/Ribbon/Large Button
导航至/sitecore/content/Applications/Content Editor/Ribbons/Strips
并从模板/sitecore/templates/System/Ribbon/Strip
然后,使用模板/sitecore/templates/System/Reference
为您的Chunk添加引用,并在droptree中选择您创建的Chunk
导航至/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default
并使用模板/sitecore/templates/System/Reference
创建参考,然后从广告系列中选择您的地带。
刷新页面并查看它是否存在。如果没有,请右键单击工具栏,看看您是否有新的导航列表,如下所示: