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:
Body="<a ID='onettopnavbar#LABEL\_ID#' href='#URL#' accesskey='J'>#LABEL#</a>"
It solved the problems for me :).
Chilly - Nov 3, 2012
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 - Nov 4, 2012
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 - Jan 5, 2013
Saved me a bunch of time. Thanks.
Mallikarjuna - May 1, 2013
Thanks for your solution. Its saved me lot of time