What I have?
I have a SharePoint 2010 portal in that a site collection has a number of Publishing sites in a hierarchy. I have customized the master page and this is the code to show global navigation menu on the master page:
<SharePoint:AspMenu ID="TopNavigationMenuV4" runat="server" EnableViewState="false"
DataSourceID="topSiteMap" AccessKey="<%$Resources:wss,navigation_accesskey%>"
UseSimpleRendering="true" UseSeparateCSS="true" Orientation="Horizontal" StaticDisplayLevels="2"
MaximumDynamicDisplayLevels="6" DynamicHorizontalOffset="0" SkipLinkText="" CssClass="s4-tn">
</SharePoint:AspMenu>
<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource" ID="topNavigationDelegate">
<Template_Controls>
<asp:SiteMapDataSource ShowStartingNode="False" SiteMapProvider="SPNavigationProvider"
ID="topSiteMap" runat="server" StartingNodeUrl="sid:1002" />
</Template_Controls>
</SharePoint:DelegateControl>
And, all sub sites have Display the same navigation items as the parent site
option set in the navigation.
What problem am I facing?
On a sub site, when I add a Heading
in the Site Navigation Settings, it is not showing in the global navigation. But, sub-sites and pages are displaying properly as sub-menus.
Am I missing anything here?
Thanks in advance!
Update: If I add a link instead of heading, it shows up in the global navigation but, only headings are not showing up.
Display the same navigation items as the parent site
is set and I am trying to add heading on a subsite.