I'm using managed terms for QuickLaunch navigation in SP2013. By default, it seems to only to display "contextual" links (that is, when I go to a sub-pages, the top level links and their children all disappear, leaving only sibling and child pages.) I saw this post in which the asker seems to have the opposite problem. How do I get the complete navigation to appear on all pages?
1 Answer
I've done that before using a Delegate Control.
Assuming you already have a Farm or Sandbox solution, add an Empty Element to your project and put the following in your Elements.xml file.
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Control Id="QuickLaunchDataSource"
Sequence="50"
ControlClass="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapDataSource"
ControlAssembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
<Property Name="SiteMapProvider">CurrentNavigationTaxonomyProvider</Property>
<Property Name="ID">QuickLaunchSiteMap</Property>
<Property Name="TreatStartingNodeAsCurrent">true</Property>
<Property Name="StartingNodeOffset">2</Property>
</Control>
</Elements>
Adjust the StartingNodeOffset to the depth you want the navigation to start at. In your case it might be 1.
Add the element to a Feature.
Deploy the solution.
Activate the feature.
Structural Navigation: Display the navigation items below the current site
on your top site's navigation settings, and on sub sites (and on its sub sites, etc.) use the navigation optionDisplay the same navigation items as the parent site
(which has info text(Parent is using Structural Navigation.)
.