Tag Info

Hot answers tagged

6

As tylerr07 said you'll need to edit the master page, however you'll need to use the ~sitecollection token to get to the root site of the site collection. eg: NavigateUrl="~sitecollection" <SharePoint:SPLinkButton runat="server" NavigateUrl="~sitecollection" id="onetidProjectPropertyTitleGraphic"> <SharePoint:SiteLogoImage ...


2

You would be looking at customizing the masterpage to accomplish this. In 2010 (You didn't have a version specified though 2007 / WSS should be similar) you can update the following lines to behave how you would like, or more specifically you could set the NavigateUrl of the SPLinkButton to whatever you want it to be if you only wanted to change the page ...


2

You can set the navigation items in manual order mode. Go to Site Settings > (look and Feel) Navigation (../_layouts/AreaNavigationSettings.aspx) Within the page you can choose for Sort manually. Then you can use Navigation Editing and Sorting to give it your sorting.


2

You probably need to change StaticDisplayLevels="1" to StaticDisplayLevels="2" Code: <SharePoint:AspMenu ID="SiteMapProvider" Runat="server" EnableViewState="false" DataSourceID="SiteMapDataSource1" UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="2" MaximumDynamicDisplayLevels="7" SkipLinkText="" ...


2

First of all you need to identify the element that has the hover event defined and then remove the event. For this example I have presented the code using jQuery. From examining a standard SharePoint site template with horizontal navigation this would be; var hoverMenuItems = $('.menu-horizontal ul.root a.dynamic-children'); ...


2

Yes, you can put the link inside SPSecurityTrimmedControl control like this <%--content %> Following link shows the possible values for Permission String: http://sympmarc.com/2008/12/31/spsecuritytrimmedcontrol-possible-values-for-permissionsstring/


2

This menu is in charge of your navigation usually, and the attribute MaximumDynamicDisplayLevels is the one handling flyouts. According to your statement, it should work by setting to at least 4 " UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="2" ...


2

Alright, so after peering into the inner workings of the code behind for those settings pages, I've found that you can detect the source of the publishing site's navigation by using the WebNavigationSettings class and reading its GlobalNavigation.Source property (a StandardNavigationSource enum) like such: if (PublishingWeb.IsPublishingWeb(web)) { ...


2

The best way to go about this would be to use SharePoint Audiences. You can create an audience that is based on a user profile property. And then you create your navigation to use the audiences when determining who to show the links for. Alternatively you can write your own navigation provider that feeds the top navigation with whatever data you want.


2

You can inherit the navigation via: SPWeb web = parent.Web.Add(/*params....*/); web.Navigation.UseShared = true; Use it just after you have created the site. More Information: MSDN


1

Thanks! I actually just stopped inheriting permissions for the specific page and created a group containing just the users I want. Now If a user logs in and is not part of said group, he/she can't even see the link to the page. This is a good way of doing it right? I did not try the SPSecurityTrimmed control yet but this seems to satisfy my needs. Thank ...


1

your last comment was the answer I was looking for. Thank you very much. Here is the Powershell Skript to ensure that somebody else can find it in the future: $w = get-spweb http://site/site $nav = $w.Navigation.TopNavigationBar $newLink = new-object Microsoft.SharePoint.Navigation.SPNavigationNode -argumentlist @("New Link", "/new-link/default.aspx") ...


1

Could you please advice how would I do that in Sharepoint Foundation 2010? I had to delete on of the links created along with a Site it was linking to(it was only visible to poeple intended to see it). When I recreated it manually, I got into a problem that people that not suppose to see that link(bacause they don't have permission to access that site) can ...


1

As you might know already the Top-Navigation bar is not cross site collections (Collaborative or Publishing). One alternative is to make your own Portal site map provider and use it in a custom master page or by using the Delegate control with your own (e.g. deploy a SiteMap physically, or a any other more dynamic variant). Many variations are available, ...


1

If you mean in Sharepoint 2013 there are new delegate controls that enables you to control what will render in the header of the page (in for example the suite bar logo and links). By creating your own control you can modify exactly what HTML that will be rendered, and hence also display icons. Zimmergren shows the different delegate controls and how to ...


1

You can create audiences based upon a set of user profile / AD properties. It requires some administration in Central Admin and it's not immediate. Audiences need to be compiled first. This is done automatically or you can start it manually. You can assign an audience to a website, lists, web parts, navigation links, ... It becomes very easy when the ...


1

Found the answer: Where do "My site" and "My profiles" links come from? And there actually even is: Activate or deactivate the SocialRibbonControl farm-level feature (SharePoint Server 2010) (MSDN) Enable-SPFeature SocialRibbonControl and the My Site link was back. Disable-SPFeature SocialRibbonControl and it was gone. Perfect. Keep in ...


1

As far as I know there is no out-of-the-box way of achieving this. You will need to define your own SP list and perhaps use the SharePoint:aspMenu control or something similar to point to that list and their columns. That way you could specify a field to sort by etc. The way the out-of-the-box solution works that you tried is that it goes by structure on ...


1

once go throw this below links you will get more idea about custom top navigation and where you have to modify changes in master page. http://social.msdn.microsoft.com/forums/en-US/sharepointcustomizationprevious/thread/3b3dc6a5-4025-46f5-a575-9b07f378975b http://virtualizesharepoint.com/2011/08/29/sharepoint-2010-navigation-flyouts-menus/ ...


1

Looks like there may be something with the CSS for this. Have you making a CSS file with this included: .s4-toplinks .s4-tn A.selected { background: <whatever settings you want>; } I was playing with that on my preprod site and it worked fine for me.


1

The top link bar will follow your site hierarchy. The fack that a link is within a page doesn't make it a hierarchy, it's just a view. To get the desired effect, you need to make it an actual hierarchy. For example, you could have Front and Back as subsites. The home page of the Back subsite would be your Back page, then pagename.aspx would be a page stored ...


1

You want to read up on creating Custom Rendering Templates for the List Toolbar. Here is a good blog post from MSDN on doing exactly this: http://blogs.msdn.com/b/syedi/archive/2009/12/04/customizing-the-list-toolbar-template-wss-3-0-moss.aspx


1

Depending on what you want to do, much if not all of this can be accomplished through CSS. Here are some postings from Erik Swenson's SharePoint Branding and Design blog on how to get started: SharePoint 2010 Base CSS Classes Navigation Drop Down Styles



Only top voted, non community-wiki answers of a minimum length are eligible