Tag Archives: Moss 2010

ECB Menu

$(document).ready(function(){

$('.ms-MenuUIPopupBody').live('mouseover', function() {

$('#ID_Checkout').parent().hide();
$('#ID_Checkout').remove();

//disable View in Browser
View in Browser
$(".ms-MenuUIULItem[text='View in Browser']").hide();
$(".ms-MenuUIULItem[text='View in Browser']").remove();

});

});

GUIDS of Content Database

Select ID, Name from objects
where properties like ‘%Microsoft.SharePoint.Administration.SPContentDatabase%m_nWarningSiteCount%’

Run in SP_Config DB

Correct way to insert custom CSS in SharePoint 2010

You can insert CSS files in a bunch of ways. But if you want to click on a class and navigate to the actual custom file, you need to use this exact format.

And also, dont forget to use the ‘after’ attribute as it will mess up the order in which your page is styled.

<SharePoint:CssRegistration name=”/Style Library/CustomStyles/Main.css” After=”corev4.css” runat=”server”/>

Rounded Corners for Web Parts in SharePoint 2010

I spent over a week making this work…email me if you need images. cyberbrutus@gmail.com

You can change Chrome Setting to show or hide the header.

This script finds all the web parts on a particular page and injects CSS that rounds the corners. I placed it in Master Page to avoid pasting code over and over again..

Turning on Personalization in Sharepoint

Open Central Admin site.
click the Application Management tab.
Under the Application Security section, click the link titled User Permissions for Web Application.
Under Personal Permissions section, uncheck the last two permissions.