jump to navigation

How to hide Recycling bin and View All Site Content May 31, 2012

Posted by John Ruby in Microsoft, Server, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
Tags: , , , , , , , , , , , , , ,
add a comment


Hiding Recycle Bin and All site content in sharepoint 2010 is very simple do the following steps:

1) open site in sharepoint designer 2010

2) Click all files, then masterpage, then checkout the master page

3) go to

  <SharePoint:UIVersionedContent UIVersion="4" runat="server" id="PlaceHolderQuickLaunchBottomV4">
      <ul style="display:none" >

4) add statement in bold

5) check in save

6) you can use this master page in your solution & provision it

How to hide Recycling bin and View All Site Content

Change the Masterpage of the Search Center May 27, 2012

Posted by John Ruby in Microsoft, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
add a comment


This is a bit of a sticky situation. The default master is set to v4.master, but the default site page is built on a layout page which doesn’t use the default master. The layout page is assigned the master page by the Microsoft.SharePoint.Publishing.PublishingLayoutPage class, which hardcodes the master page as the custom master. There is a way to work around this and assign a different master page for the page layout, but the end result would probably not work very well.
Instead of changing the master page, I would suggest adding the top navigation bar to the page layout. This can be done by adding the following code to the SearchMain.aspx Page Layout. Edit it in Advanced Mode. Insert the following code right after this existing code (around line 100):
<SharePoint:UIVersionedContent UIVersion="4" runat="server">
  <div class="s4-lp s4-toplinks" style="background-image:url(/_layouts/images/selbg.png); background-repeat:no-repeat;
  repeat-x:left top; background-color:#f6f6f6; vertical-align:middle; min-height:25px; border-top:1px solid #e0e0e0;
  border-bottom:1px solid #b8babd">
         <SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource" Id="topNavigationDelegate">
I grabbed the inline styles from corev4.css. You can change those as you please to get your desired look. Also, if you’d rather have all of the pages with minimal.master inlcude the top link, you can add the nop nav to minimal.master instead. Look at v4.master for the placeholder tags that I had to remove for insertion in the page layout. (asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server"> and <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">).

Change the masterpage of the search center

SharePoint Training Team Blog: SharePoint 2010 Local Website Access – Loopback Fix May 1, 2012

Posted by John Ruby in Solutions, Troubleshooting & Knowledge Bases.
add a comment


Windows Server 2003 SP1 introduced a loopback security check. This feature is also present in Windows Server 2008 R2.
The feature prevents access to a web application using a fully qualified domain name (FQDN) if an attempt to access it takes place from a machine that hosts that application. The end result is a 401.1 Access Denied from the web server and a logon failure in the event log.
Another problem is that the search crawler failing

Apply the fix mentioned in http://support.microsoft.com/kb/896861 only for DEV environments.
Method 2: Disable the loopback check
To set the DisableLoopbackCheck registry key, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.

SharePoint Training Team Blog: SharePoint 2010 Local Website Access – Loopback Fix