2015-07-10 185 views
1

期间在Sitecore页面编辑器中导航断开在将Sitecore 6.3更新到6.6之后,单击“编辑相关项目”时,Sitecore页面编辑器中的主导航被打破。在编辑相关项

它看起来像这样: Broken Navigation

它甚至关闭“编辑相关的项目” Frame时保持这个样子。

下面是从屏幕上的文本:

{ “命令”:[{ “点击”: “铬:共同:edititem({命令:\” webedit:开放\ “})”, “header”:“”,“icon”:“/〜/ 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 {”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”:“common “}],” contextIt emUri“:”sitecore:// master/{F195AD36-86EE-4C13-883B-761E300C23AF}?lang = de-CH & ver = 1“,”custom“:{},”displayName“:”Title“,”expandedDisplayName “:null} REA {”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“:”common“}],”contextItemUri“:” sitecore:// master/{63438A98-FC6F-461D-89BB-7497B12FBAEF}?lang = de-CH & ver = 1“,”custom“:{},”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。“,”type“:”common“}],”contextItemUri“:”sitecore:// master/{FB9B0590-E933-4141-BA2B-F82C83A3343E}?lang = de-CH & ver = 1“,”custom“:{},”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“:”common“ }],“contextItemUri”:“sitecore:// master/{0F1334E0-9BB7-4657-9DC4-884F6E1133C9}?lang = de-CH & ver = 1”,“custom”:{},“displayName”:“Title “,”expandedDisplayName“:null} Dokumente {”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“:”common“}],” contextItemUri“:”sitecore:// master/{8D18489B-B7F3-442B-9958-7D1FDBDC9010}?lang = de-CH & ver = 1“,”custom“:{},”displayName“:”Title“,”expandedDisplayName “:null} 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>&nbsp;</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

你可以粘贴导航的.ascx代码吗? –

+1

在第一篇文章中添加了.ascx代码。 – SpaceJump

+1

请确保您的inetpub文件夹中存在/ website/webedit.css文件,您没有将它签入Visual Studio项目(即,它不覆盖6.6安装中的更新文件) – jammykam

回答

1

问题是由于以前在Sitecore的6.6在webedit.css样式变化版本。

确保/website/webedit.css存在于您的inetpub文件夹中,您没有将它签入到Visual Studio项目中,即它不会覆盖源代码控制中的以前版本的文件。