I a custom site definition, I have two modules :
- the classic default module to provision the default.aspx
- a custom mypage to provision a custom mypage.aspx
I want to add in the top navigation bar a link to this page. So I set up my module like this, according the documentation:
<Module Name="MyPage"
Url="">
<File
Url="mypage.aspx"
Type="Ghostable">
<View List="Lists/mylist"
BaseViewID="0"
WebPartZoneID="Left"
/>
<NavBarPage Name="My custom page"
ID="1002"
Position="End" />
<NavBarPage Name="My custom page"
ID="0"
Position="Start" />
</File>
</Module>
the pages are provisioned successfully, but the top nav bar is broken and empty. Is it the correct way to add a link in the top bar ?