将Sitecore 6.3更新为6.6后,单击“编辑相关项目”时,Sitecore页面编辑器中的主导航将被中断。
看起来像这样:
关闭“编辑相关项目”框架时,它甚至会保持这样。
以下是该屏幕的文字:
{ “命令”:[{ “点击”: “铬:共同:edititem({命令:\” webedit:开放\ “})”, “标题”: “”, “图标”:“/〜/ icon / SoftwareV2 / 16x16 / cubes_blue.png.aspx“,”isDivider“:false,”tooltip“:”Dieses Item im Content Editor bearbeiten。“,”type“:”common“}],”contextItemUri“:”sitecore: // master / {78EBD797-ACA9-40BC-9ACE-961CD2296CDC}?lang = de-CH& ver = 1“,”custom“:{},”displayName“:”Title“,”expandedDisplayName“:null} KATA { “命令”:[{ “点击”: “铬:共同:edititem({命令:\” webedit:开放\ “})”, “标题”: “”, “图标”:“/〜/图标/ SoftwareV2 / 16x16 / cubes_blue.png.aspx“,”isDivider“:false,”tooltip“:”Dieses Item im Content Editor bearbeiten。“,”type“:”common“}],”contextItemUri“:”sitecore:// master / {F195AD36-86EE-4C13-883B-761E300C23AF}?lang = de-CH& ver = 1“,”custom“:{},”displayName“:”Title“,”expandedDisplayName“:null} REA {”commands“: [{ “点击”: “铬:共同:edititem({命令:\” webedit:开放\ “})”, “标题”: “”, “图标”:“/〜/图标/ SoftwareV2 / 16×16 / cubes_blue。 png.aspx“,”isDivider“:false,”tooltip“:”Dieses Item im Content Editor bearbeiten 。 “” 类型 “:” 普通 “}],” contextItemUri “:” Sitecore的://主/ {63438A98-FC6F-461D-89BB-7497B12FBAEF} LANG = DE-CH&安培;版本= 1" , “自定义”? :{},“displayName”:“Title”,“expandedDisplayName”:null} Patientensicherheit {“commands”:[{“click”:“chrome:common:edititem({command:\”webedit:open \“})” ,“header”:“”,“icon”:“/〜/ icon / SoftwareV2 / 16x16 / cubes_blue.png.aspx”,“isDivider”:false,“tooltip”:“Dieses Item im Content Editor bearbeiten。”,“ ?类型 “:” 普通 “}],” contextItemUri “:” Sitecore的://主/ {FB9B0590-E933-4141-BA2B-F82C83A3343E} LANG = DE-CH&安培;版本= 1" , “自定义”:{}, “displayName”:“Title”,“expandedDisplayName”:null} Prozesse {“commands”:[{“click”:“chrome:common:edititem({command:\”webedit:open \“})”,“header” :“”,“icon”:“/〜/ icon / SoftwareV2 / 16x16 / cubes_blue.png.aspx”,“isDivider”:false,“tooltip”:“Dieses Item im Content Editor bearbeiten。”,“type”:“常见的 “}],” contextItemUri “:” Sitecore的://主/ {0F1334E0-9BB7-4657-9DC4-884F6E1133C9} LANG = DE-CH&安培;版本= 1" , “自定义?”:{}, “显示名”: “Title”,“expandedDisplayName”:null} Dokumente {“co mmands “:[{” 点击 “:” 铬:共同:edititem({命令:\ “webedit:开放\”}) “ ”标题“: ”“, ”图标“:”/〜/图标/ SoftwareV2 / 16×16 /cubes_blue.png.aspx","isDivider":false,"tooltip":"Dieses Item im Content Editor bearbeiten。“,”type“:”common“}],”contextItemUri“:”sitecore:// master / { 8D18489B-B7F3-442B-9958-7D1FDBDC9010} LANG = DE-CH&安培;版本= 1" , “自定义?”:{}, “显示名”: “标题”, “expandedDisplayName”:空} Telefonlisten
任何人都知道这是什么以及如何解决它?
提前致谢:)
修改
.ascx代码:
<%@ Control Language="C#" AutoEventWireup="true"
CodeBehind="Header.ascx.cs" Inherits="ZGKS.Intranet.WebApp.Frontend.sublayouts.Header" %>
<%@ Register Src="NavLayer.ascx" TagName="NavLayer" TagPrefix="uc1" %>
<%@ Register Src="~/Frontend/sublayouts/SearchBox.ascx" TagName="SearchBox" TagPrefix="ZGKSControls" %>
<div class="head">
<div class="line">
<div class="unit sizeCol">
<!-- mod NavService -->
<div class="mod modNavService skinNavServiceHome">
<div class="inner">
<div class="bd">
<ul>
<li><a href="/" title="Home" class="major">Home</a></li>
<li><span>
<asp:Literal ID="litWelcome" runat="server"></asp:Literal>
<asp:Literal ID="litUsername" runat="server"></asp:Literal></span></li>
<li class="last"><span>
<asp:Literal ID="litDate" runat="server"></asp:Literal></span></li>
</ul>
</div>
</div>
</div>
<!-- /mod NavService -->
<!-- mod NavService -->
<div class="mod modNavService">
<div class="inner">
<!-- tpl NavService-navservice -->
<div class="bd">
<ul>
<asp:Literal ID="litNaviLinks" runat="server"></asp:Literal>
</ul>
</div>
<!-- /tpl NavService-navservice -->
</div>
</div>
<!-- /mod NavService -->
<!-- mod Favourites -->
<div class="mod modFavourites">
<div class="inner">
<!-- tpl Favourites-favourites -->
<div class="hd">
<ul>
<li><a href="#" title="">Meine Favoriten</a>
<div class="favnavcontainer">
<div class="wrap">
<div class="list">
<table>
<tbody>
<tr>
<td>
<asp:Label ID="lblFavoritesDescription" runat="server" />
</td>
</tr>
</tbody>
</table>
<table class="highlight">
<tbody>
<asp:Repeater ID="rptFavorite" runat="server" OnItemCommand="RptFavoriteItemCommand">
<ItemTemplate>
<tr class="favoritemark">
<td>
<a href="<%# Eval("Url") %>">
<%# Eval("Title") %></a>
</td>
<td class="delete">
<span>
<asp:ImageButton ToolTip="Löschen" AlternateText="Löschen" ID="btnDeleteFav" runat="server"
CommandName="delFav" CommandArgument='<%# Eval("ID") %>' ImageUrl="~/Frontend/Images/icons/clear.png" />
</span>
</td>
<td class="edit" title="Editieren">
<span></span>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
</div>
</div>
<a class="close" title="" href="#">Schliessen <span>|</span> X</a>
</div>
</li>
<li><a href="#" title="">Meine Systeme</a>
<div class="favnavcontainer">
<div class="wrap">
<div class="list">
<table>
<tbody>
<tr>
<td>
<asp:Label ID="lblSystemDescription" runat="server" />
</td>
</tr>
</tbody>
</table>
<table class="highlight">
<tbody>
<asp:Repeater ID="rptSysteme" runat="server">
<ItemTemplate>
<tr class="">
<td>
<a target="_blank" href="<%# Eval("Url") %>">
<%# Eval("Title") %></a>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
</div>
</div>
<div class="modContent" style="padding: 0;">
<div style="margin: 10px 0; margin-left: 10px;">
<a target="_self" href='<%# MySystemLink %>' class="icon back" title="Zurück">
<span>Meine Systeme bearbeiten</span>
</a>
</div>
<a class="close" title="" href="#">Schliessen <span>|</span> X</a>
</div>
</div>
</li>
<li><a href="#" title="">Meine Alerts</a>
<div class="favnavcontainer">
<div class="wrap">
<div class="list">
<table>
<tbody>
<tr>
<td>
<asp:Label ID="lblAlertDescription" runat="server" />
</td>
</tr>
</tbody>
</table>
<table class="highlight">
<tbody>
<asp:Repeater ID="rptAlert" runat="server" OnItemCommand="RptAlertItemCommand">
<ItemTemplate>
<tr class="alertmark">
<td>
<a href="<%# Eval("Url") %>">
<%# Eval("Title") %></a>
</td>
<td class="delete">
<span>
<asp:ImageButton ToolTip="Löschen" AlternateText="Löschen" ID="btnDeleteAlert" runat="server"
CommandName="delAlert" CommandArgument='<%# Eval("ID") %>' ImageUrl="~/Frontend/Images/icons/clear.png" />
</span>
</td>
<td class="edit" title="Editieren">
<span> </span>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
</div>
</div>
<a class="close" title="" href="#">Schliessen <span>|</span> X</a>
</div>
</li>
</ul>
</div>
<div class="bd">
</div>
<!-- /tpl Favourites-favourites -->
</div>
</div>
<!-- /mod Favourites -->
</div>
<div class="unit sizeCol lastUnit">
<div class="line">
<!-- mod Logo -->
<div class="mod modLogo">
<div class="inner">
<!-- tpl Logo-logo -->
<div class="bd">
<a href="/" title="">
<img class="screen" src="/Frontend/Images/logo.gif" width="291" height="27" alt="ZGKS"></a>
</div>
<!-- /tpl Logo-logo -->
</div>
</div>
</div>
<div class="line">
<ZGKSControls:SearchBox ID="SearchBox" runat="server" />
</div>
</div>
<div class="line">
<div class="unit size1of1">
<uc1:NavLayer ID="NavLayer1" runat="server" />
</div>
</div>
</div>
</div>
答案 0 :(得分:1)
问题是由于先前版本的Sitecore 6.6中的webedit.css样式表发生了变化。
确保inetpub文件夹中存在/website/webedit.css
,表示您没有将其签入Visual Studio项目,即它不会覆盖源代码管理器中以前版本的文件。