0

在内容编辑器中移动项目时,使用菜单中的按钮会为当前级别上没有当前语言版本的所有项目创建版本。

这对于两种语言的项目来说是一个问题,有些项目只有一种语言的版本。我们有关于标准值的内容,所以当项目发布时,$name 会出现在前端。

4

1 回答 1

0

这是一个已知的问题。我猜你的解决方案是在 6.4 之前。请在此处查看 Sitecore 6.4 的发布历史:http: //sdn.sitecore.net/products/sitecore%20v5/sitecore%20cms%206/releasenotes/changelog/release%20history%20sc64.aspx

当对当前语言没有任何版本的项目执行以下任何操作时,系统将创建一个空版本: 为整个项目指定发布限制时。(338784) 当用户设置或清除存档日期时。(338850) 更改排序顺序或项目时,包括设置子项目排序。(336514) 使用“移动到”命令移动项目时。(336514)

如果您无法更新到 6.4,则需要使用您自己的命令修改下一个命令。

<command name="item:movedown" type="Sitecore.Shell.Framework.Commands.MoveDown,Sitecore.Kernel"/>
<command name="item:movefirst" type="Sitecore.Shell.Framework.Commands.MoveFirst,Sitecore.Kernel"/>
<command name="item:movelast" type="Sitecore.Shell.Framework.Commands.MoveLast,Sitecore.Kernel"/>
<command name="item:moveto" type="Sitecore.Shell.Framework.Commands.MoveTo,Sitecore.Kernel"/>

于 2013-10-11T04:22:03.570 回答