Can't add a global site navigation link
Anatoly Mironov
If you encounter problems while customizing global site navigation in a custom site definition for SharePoint 2010, you probably can solve it by adding the necessary navbar element in navbars section of the onet.xml:
<NavBar Name="$Resources:core,category\_Top;"
Separator="&nbsp;&nbsp;&nbsp;"
Body="<a ID='onettopnavbar#LABEL\_ID#' href='#URL#' accesskey='J'>#LABEL#</a>"
ID="1002" />It solved the problems for me :).
comments from wordpress
Chilly — 2012-11-03
How did you edit the Onet.XML file? What if this is only happening on one site in a whole site colleciton will this help this site as well. Thanks for any help you can give. This problem is bugging me on one of my sites.
Anatoly Mironov — 2012-11-04
You can only edit onet.xml in a site definition or a web template. And it affects your site only when you create a site.
Chris Auer — 2013-01-05
Saved me a bunch of time. Thanks.
Mallikarjuna — 2013-05-01
Thanks for your solution. Its saved me lot of time