Remove the Sign In link in MOSS and keep the Site Actions menu
Saturday, July 7th, 2007This issues is most common if you are making a Sharepoint site that is anonymously accessible but should allow administrators to login on any page to make edits.
Here is how to remove the “Sign In” link in Sharepoint and still keep the the Site Actions menu on the top.
- Open the site’s master page in Sharepoint Designer
- Look for the <td colspan=”2″ class=”authoringRegion”> tag. The best way to do this is to search for “authoringRegion”. Here is what this td tag should look like:
- Encapsulate this tag with a <PublishingWebControls:AuthoringContainer runat=”server”>. The new code should look like this:
- Now go down to the footer of your page (or any other place where you would like to relocate your Sign In link and paste in the following:
<a href=”javascript:authenticateUser()”>Admin Login</a>
- As you can see, this new link is trying to invoke a javascript function. We need to add that in ourselves. Paste in the following Code:
That’s It! Now your Admins and/or managers can click the “Admin Login” link and the Site Action menu will still appear on top for authenticated users. For anonymous users, the Sign In link at the top right is now gone!