Hi
When I create pages in a publishing site the pages are automatically added to the navigation.
What if I dont want certain pages to show on the navigation, how can I do that automatically/conditionally?
Hi
When I create pages in a publishing site the pages are automatically added to the navigation.
What if I dont want certain pages to show on the navigation, how can I do that automatically/conditionally?
This blog post from Ton Stegeman should tell you everything you need to know. Look at PublishingWeb.ExcludeFromNavigation().