Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no effect when alternating ONET.XLS - new navigation links

Status
Not open for further replies.

pksa

MIS
May 14, 2003
7
PL
I modified onet.xml in templates directory but there is no effect. (according to: I also restarted IIS. No efect

To detaile what I did:
1. A edited onet.xml from /......60/template/1033/SPSNEWS/XML/ONET.XML

2. the file originally looked like:
<?xml version="1.0" encoding="utf-8"?>
<!-- _lcid="1033" _version="11.0.5704.0" -->
<!-- _LocalBinding -->
<Project Title="Team Web Site" ListDir="Lists" xmlns:eek:ws="Microsoft
SharePoint" AlternateHeader="PortalHeader.aspx"
DisableWebDesignFeatures="wdfbackup; wdfrestore; wdfpackageimport;
wdfpackageexport; wdfthemeweb; wdfthemepage; wdfnavigationbars;
wdfnavigationview; wdfpublishview; wdfpublishselectedfile;
wdfNewSubSite">
<NavBars>
<NavBar Name="SharePoint Top Navbar" ID="1002">
<NavBarPage Name="Home" Url="">
<!-- _locID@Name="Nav_Home" -->
</NavBarPage>
<NavBarLink Name="Help" Url="javascript:HelpWindow()">
<!-- _locID@Name="Nav_Help" -->
</NavBarLink>
</NavBar>
<NavBar Name="Documents" ID="1004" />
<NavBar Name="Pictures" ID="1005" />
<NavBar Name="Lists" ID="1003" />
<NavBar Name="Discussions" ID="1006" />
<NavBar Name="Surveys" ID="1007" />
</NavBars>
.......

3. I inserted one line:
<NavBarLink Name="republika" Url="</NavBarLink>

So it is now:
<?xml version="1.0" encoding="utf-8"?>
<!-- _lcid="1033" _version="11.0.5704.0" -->
<!-- _LocalBinding -->
<Project Title="Team Web Site" ListDir="Lists" xmlns:eek:ws="Microsoft
SharePoint" AlternateHeader="PortalHeader.aspx"
DisableWebDesignFeatures="wdfbackup; wdfrestore; wdfpackageimport;
wdfpackageexport; wdfthemeweb; wdfthemepage; wdfnavigationbars;
wdfnavigationview; wdfpublishview; wdfpublishselectedfile;
wdfNewSubSite">
<NavBars>
<NavBar Name="SharePoint Top Navbar" ID="1002">
<NavBarPage Name="Home" Url="">
<!-- _locID@Name="Nav_Home" -->
</NavBarPage>
<NavBarLink Name="Help" Url="javascript:HelpWindow()">
<!-- _locID@Name="Nav_Help" -->
</NavBarLink>
<NavBarLink Name="republika" Url="</NavBarLink>
</NavBar>
<NavBar Name="Documents" ID="1004" />
<NavBar Name="Pictures" ID="1005" />
<NavBar Name="Lists" ID="1003" />
<NavBar Name="Discussions" ID="1006" />
<NavBar Name="Surveys" ID="1007" />
</NavBars>

4. Then I restarted IIS.

5 So I expected that when adding new subarea in SPS portal with the
template for news I should have additional link on the top to the url

6. But there is nothing.
WHATS WRONG,

I wonders me becaouse in the onet.xml there is originaly only link to
help, there is no site settings etc.??
Perhaps I should edit different file??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top