VersionFromLanguage模块在Sitecore 8.0

时间:2016-02-12 08:29:51

标签: sitecore sitecore8

我们的一位客户最近将其sitecore从7.0升级到8.0,他们曾经与VersionFromLanguage module合作,将相同的内容复制到多种语言。但升级后,如果模块被激活(通过启用其配置文件),内容编辑器将崩溃并出现以下错误:

Could not load type 'Sitecore.Shell.Applications.WebEdit.Commands.WebEditCommand' from assembly 'Sitecore.Client, Version=8.0.5245.0, Culture=neutral, PublicKeyToken=null'

我正在考虑更好的技术,例如长期语言回退,但有没有快速修复此模块? (对于按钮在SPEAK UI上注册的方式,与旧的shell API相比,我猜是必须的)

1 个答案:

答案 0 :(得分:0)

快速解决方法是切换到Sheer UI。   在Sitecore 8中,体验编辑器默认使用SPEAK作为功能区。  要使用旧的Sheer UI(如果是您的选项),您需要修改Sitecore.ExperienceEditor.config

<pageextenders>
<!-- Uncomment the page extenders below and comment the   "Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonPageExtender" to switch to old SheerUI-based Experience Editor ribbon. -->
<pageextender type="Sitecore.Layouts.PageExtenders.PreviewPageExtender, Sitecore.ExperienceEditor" />
<pageextender type="Sitecore.Layouts.PageExtenders.WebEditPageExtender, Sitecore.ExperienceEditor" />
<pageextender type="Sitecore.Layouts.PageExtenders.DebuggerPageExtender, Sitecore.ExperienceEditor" />

<pageextender type="Sitecore.Shell.Applications.Preview.SimulatedDevicePreview.PageExtenders.PreviewExtender, Sitecore.ExperienceEditor" />

<!-- Page extender for SPEAK-based Experience Editor ribbon. -->
<!--<pageextender type="Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonPageExtender, Sitecore.ExperienceEditor.Speak.Ribbon" />-->
 </pageextenders>

在下一个链接中,您将找到有关如何在Sitecore 8中自定义色带的信息,以及在将问题解决到Sitecore 8时需要遵循的步骤。

http://www.programmingbynumbers.com/2015/01/31/creating-a-new-experience-editor-button-in-sitecore-8/        https://doc.sitecore.net/sitecore_experience_platform/the_editing_tools/customize_the_experience_editor_ribbon