父网站未显示在SharePoint 2013的面包屑中

时间:2018-07-13 16:17:02

标签: sharepoint sharepoint-2010 sharepoint-2013

当我在子站点中时,如何显示父站点链接,例如在sharepoint 2013中的面包屑中的家?

1 个答案:

答案 0 :(得分:0)

您可以在这里看到,这是您可能的解决方案。 替换为:

<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" /></SharePoint:SPLinkButton>

具有:

<asp:SiteMapPath
     runat="server"
     SiteMapProviders="SPSiteMapProvider,SPXmlContentMapProvider"
     RenderCurrentNodeAsLink="false"
     NodeStyle-CssClass="breadcrumbNode"
     CurrentNodeStyle-CssClass="breadcrumbCurrentNode"
     RootNodeStyle-CssClass="breadcrumbRootNode"
     HideInteriorRootNodes="true"
     SkipLinkText=""/>

在母版页

访问https://sharepoint.stackexchange.com/questions/11480/breadcrumb-not-showing-parent-site