Thanks in advance,
Jeff
<SharePoint:AspMenu
ID="TopNavigationMenu"
Runat="server"
DataSourceID="topSiteMap"
EnableViewState="false"
AccessKey="<%$Resources:wss,navigation_accesskey%>"
Orientation="Horizontal"
StaticDisplayLevels="2"
MaximumDynamicDisplayLevels="1"
DynamicHorizontalOffset="0"
StaticPopoutImageUrl="/_layouts/images/menudark.gif"
StaticPopoutImageTextFormatString=""
DynamicHoverStyle-BackColor="#CBE3F0"
SkipLinkText=""
StaticSubMenuIndent="0"
CssClass="ms-topNavContainer">
<StaticMenuStyle/>
<StaticMenuItemStyle CssClass="ms-topnav" ItemSpacing="0px"/>
<StaticSelectedStyle CssClass="ms-topnavselected" />
<StaticHoverStyle CssClass="ms-topNavHover" />
<DynamicMenuStyle BackColor="#F2F3F4" BorderColor="#A7B4CE"
BorderWidth="1px"/>
<DynamicMenuItemStyle CssClass="ms-topNavFlyOuts"/>
<DynamicHoverStyle CssClass="ms-topNavFlyOutsHover"/>
<DynamicSelectedStyle CssClass="ms-topNavFlyOutsSelected"/>
</SharePoint:AspMenu>
<SharePoint:DelegateControl runat="server"
ControlId="TopNavigationDataSource"><Template_Controls>
<asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002"/>
</Template_Controls>
</SharePoint:DelegateControl>
This control is replaced depending on which features are active at the site
collection and web levels and this is why the same markup produces different
results. You can replace the DelegateControl with the explicit data source
declaration for MOSS navigation.
Edit the MySite masterpage, and replace the markup above with the following
(you may want to make a backup of your masterpage first):
<PublishingNavigation:PortalSiteMapDataSource ID="topSiteMap" Runat="server"
SiteMapProvider="CombinedNavSiteMapProvider"
StartFromCurrentNode="true" ShowStartingNode="false"
TreatStartingNodeAsCurrent="true" TrimNonCurrentTypes="Heading"/>
You'll also need to register a new Tagprefix by adding the following at the
top of the same masterpage:
<%@ Register Tagprefix="PublishingNavigation"
Namespace="Microsoft.SharePoint.Publishing.Navigation"
Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0,
Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" %>
Let me know if you run into any problems.
"JMillians (beginner)" <JMillian...@discussions.microsoft.com> wrote
in message news:078CA08B-D32D-401E...@microsoft.com...
I have also tried this:
<PublishingNavigation:PortalSiteMapDataSource ID="topSiteMap" Runat="server"
SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="true"
StartFromCurrentNode="false" StartingNodeOffset="0" ShowStartingNode="false"
TreatStartingNodeAsCurrent="false" TrimNonCurrentTypes="Heading"
/>
but the home link was still displayed.
Thanks in advance
Mike Walsh
WSS FAQ http://www.wssv3faq.com / http://wss.collutions.com
no private e-mail questions please
I found the code:
<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource">
<Template_Controls>
<asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002"/>
</Template_Controls>
</SharePoint:DelegateControl>
what do I edit it to?
Also when adding a new tagprefix do I add:
<%@ Register TagPrefix="somenamehere" Namespace="Microsoft.SharePoint.Publishing.Navigation"
Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0,
Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" %>
If so what name should I use.
Cheers.
Chris Richard [MSFT] wrote:
It's not the menu that needs to change, but rather the data source it's
30-Mar-07
Previous Posts In This Thread:
On Thursday, March 22, 2007 2:26 PM
JMilliansbeginne wrote:
How do I show the MOSS 2007 default top navigation on MySite
I want to create a MySite template that shows the same top navigation and
Quick Links as the default MOSS homepage. Is this possible without manually
configuring the top tabs?
Thanks in advance,
Jeff
On Thursday, March 22, 2007 6:08 PM
j wrote:
Yes it is. We can use the same master as that of the homepage.
Yes it is. We can use the same master as that of the homepage.
"JMillians (beginner)" wrote:
On Friday, March 23, 2007 9:53 AM
JMilliansbeginne wrote:
This doesn't work.
"jb" wrote:
On Friday, March 30, 2007 3:25 PM
Chris Richard [MSFT] wrote:
On Monday, April 14, 2008 10:33 PM
atlana wrote:
How can I remove home bar from dispaying in MOSS 2007?
I have a custom master page and I want to hide home bar. I set ShowStartingNode="false" in my datasource but the home link is still displayed.Here is the datasource:
<asp:SiteMapDataSource ShowStartingNode="false"
StartingNodeOffset="1" SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server" StartFromCurrentNode="false"
StartingNodeUrl="../../Pages/homepage.aspx"/>
I have also tried this:
<PublishingNavigation:PortalSiteMapDataSource ID="topSiteMap" Runat="server"
SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="true"
StartFromCurrentNode="false" StartingNodeOffset="0" ShowStartingNode="false"
TreatStartingNodeAsCurrent="false" TrimNonCurrentTypes="Heading"
/>
but the home link was still displayed.
Thanks in advance
On Thursday, April 09, 2009 11:16 AM
Chris Arella wrote:
Hiding the "Home" Site Tab in SharePoint's Global Navigation
You can remove the home link from view with CSS. I coverred this on my blog recently here:
<a href="http://beyondsharepoint.blogspot.com/2009/03/hiding-home-site-tab-in-sharepoints.html">http://beyondsharepoint.blogspot.com/2009/03/hiding-home-site-tab-in-sharepoints.html</a>.
The code for your alternate CSS file is:
td#zz1_TopNavigationMenun0 {
display:none;
}
I hope this helps.
On Thursday, April 09, 2009 11:19 AM
Chris Arella wrote:
Hiding the "Home" Site Tab in SharePoint's Global Navigation
Lets try that link again:
http://beyondsharepoint.blogspot.com/2009/03/hiding-home-site-tab-in-sharepoints.html
Submitted via EggHeadCafe - Software Developer Portal of Choice
Build an IE Favorites Synchronizer Utility
http://www.eggheadcafe.com/tutorials/aspnet/d5821ece-9b1c-4429-81fb-ac71076b252e/build-an-ie-favorites-syn.aspx
I found the code:
<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource">
<Template_Controls>
<asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002"/>
</Template_Controls>
</SharePoint:DelegateControl>
what do I edit it to?
Also when adding a new tagprefix do I add:
<%@ Register TagPrefix="somenamehere" Namespace="Microsoft.SharePoint.Publishing.Navigation"
Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0,
Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" %>
If so what name should I use.
Cheers.
Chris Richard [MSFT] wrote:
It's not the menu that needs to change, but rather the data source it's
30-Mar-07
Previous Posts In This Thread:
On Thursday, March 22, 2007 2:26 PM
JMilliansbeginne wrote:
How do I show the MOSS 2007 default top navigation on MySite
I want to create a MySite template that shows the same top navigation and
Quick Links as the default MOSS homepage. Is this possible without manually
configuring the top tabs?
Thanks in advance,
Jeff
On Thursday, March 22, 2007 6:08 PM
j wrote:
Yes it is. We can use the same master as that of the homepage.
Yes it is. We can use the same master as that of the homepage.
"JMillians (beginner)" wrote:
On Friday, March 23, 2007 9:53 AM
JMilliansbeginne wrote:
This doesn't work.
"jb" wrote:
On Friday, March 30, 2007 3:25 PM
Chris Richard [MSFT] wrote:
On Monday, April 14, 2008 10:33 PM
atlana wrote:
How can I remove home bar from dispaying in MOSS 2007?
I have a custom master page and I want to hide home bar. I set ShowStartingNode="false" in my datasource but the home link is still displayed.Here is the datasource:
<asp:SiteMapDataSource ShowStartingNode="false"
StartingNodeOffset="1" SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server" StartFromCurrentNode="false"
StartingNodeUrl="../../Pages/homepage.aspx"/>
I have also tried this:
<PublishingNavigation:PortalSiteMapDataSource ID="topSiteMap" Runat="server"
SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="true"
StartFromCurrentNode="false" StartingNodeOffset="0" ShowStartingNode="false"
TreatStartingNodeAsCurrent="false" TrimNonCurrentTypes="Heading"
/>
but the home link was still displayed.
Thanks in advance
On Thursday, April 09, 2009 11:16 AM
Chris Arella wrote:
Hiding the "Home" Site Tab in SharePoint's Global Navigation
You can remove the home link from view with CSS. I coverred this on my blog recently here:
<a href="http://beyondsharepoint.blogspot.com/2009/03/hiding-home-site-tab-in-sharepoints.html">http://beyondsharepoint.blogspot.com/2009/03/hiding-home-site-tab-in-sharepoints.html</a>.
The code for your alternate CSS file is:
td#zz1_TopNavigationMenun0 {
display:none;
}
I hope this helps.
On Thursday, April 09, 2009 11:19 AM
Chris Arella wrote:
Hiding the "Home" Site Tab in SharePoint's Global Navigation
Lets try that link again:
http://beyondsharepoint.blogspot.com/2009/03/hiding-home-site-tab-in-sharepoints.html
On Friday, January 22, 2010 3:55 AM
Luke Boyce wrote:
I feel I'm missing something
Sorry, very new to this...
I found the code:
<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource">
<Template_Controls>
<asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002"/>
</Template_Controls>
</SharePoint:DelegateControl>
what do I edit it to?
Also when adding a new tagprefix do I add:
<%@ Register TagPrefix="somenamehere" Namespace="Microsoft.SharePoint.Publishing.Navigation"
Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0,
Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" %>
If so what name should I use.
Cheers.
Submitted via EggHeadCafe - Software Developer Portal of Choice
Sample SOAP Compliant Fault Message
http://www.eggheadcafe.com/tutorials/aspnet/b7115833-ed98-4bc7-a090-28cb8be9ebd7/sample-soap-compliant-fau.aspx