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 ...


4

To hide it during Print, you can use the following CSS: @media print { div#suiteBar { display: none; } }


3

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)) { ...


3

ActiveX components (which is what you get rendering a network drive) is always on top of HTML, z-index or not. You cannot do anything about that in Internet Explorer (except having a script that temporarily hides the ActiveX while you're activating your menu).


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

Add .ms-pagebreadcrumb { display:none; } in your custom css and refer that in your master page Adding a link next to "I Like It" would also require in customizing the master page, by adding an image with hyper link.


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

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

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

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

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 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


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

The child combinator selector will to do the trick: ul.ms-core-listMenu-root > li > a { display: none; } You may need something more specific to override Microsoft's own core CSS. So if your navigation lives in a <div class="header">, then .header ul.ms-core-listMenu-root > li > a would do it. Now, if anyone knows how to do this ...


2

Use "../yoururl/targetlocation", with those two dots. Edit: Or you could also use the complete URL, e.g. http://sitecollection/subsite/


2

This article references that users must have Full Control or Design permission to be able to modify the quick launch (for 2007, but afaik, this has been unchanged throughout the versions). It doesn't explicitly say which of the permission masks enables it. Has your Site Members group had it's permission level modified? Based on this, they should not be able ...


2

The navigation options which you have set tries to pulls the items from managed metadata term sets. Change the Global and Current Navigation settings as below to display the pages as navigation items. The folders will not be displayed as navigation items. But you can still add the folders manually and move the pages accordingly under the same navigation ...


1

If you study the html rendered of the menu, its noticed that menu is rendered in ul li structure. And the black arrow is nothing but the background image given to a span. Screen shot of the rendered html Below class is used (rare chances but may vary based on which updates are applied or different versions like standard, enterprise extra.) ...


1

You can use Javascript to build this Url. Just reference your new .js file into masterpage. All the code should be run on document ready. $(document).ready(function(){ //your code })) You can build Url and replace the shortcut href attribute value on many ways: var url = SP.Utilities.Utility.getLayoutsPageUrl("new.aspx") + ...


1

You can use variations (or just standalone sites created in different languages) in combination with multi-language managed navigation. For example you can have your navigation termset with terms in English, French and Danish (default English). Next you create 3 subsites in 3 different languages. Each of these subsites uses a separate navigation termset. ...


1

A solution would be : add a script editor web part to your page copy the following code into the script editor SharePoint 2013 code .ms-core-listMenu-horizontalBox li.static > a{ display: none !important; } .ms-core-listMenu-horizontalBox li.static > ul a{ display: block !important; } SharePoint 2010 code .s4-tn ...


1

As I understand you only want to remove site name on the top of the page? If yes, you should edit your Master Page and remove from it needed section. You can find it at the virtual directory _catalogs/masterpage/<master-page-name>.html of your site.


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

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

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

This is SharePoint 2013 limitation and as you can read in Tobias blog, there is even more issues with Top navigation. But if anyone can provide custom solution for this I am willing even to buy it. Thanks to Tobias blog: http://blog.lekman.com/2013/01/limitations-with-managed-metadata.html


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

I have done it in 2010 too. In my case a little house icon was wanted instead of the global nav link to the home page so I used a little bit of jQuery to find the URL and replace it with the icon.


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, ...



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