Sharepoint 2010 Hide Quick Launch
/*–Hide Quick Launch –*/ #s4-leftpanel{ display:none } .s4-ca{ margin-left:0px }…
View ArticleFixed width master page for SP 2010
/* Page */ body #s4-bodyContainer { width: 960px !important; margin-right: auto; margin-left: auto; }…
View ArticleHow to add JQuery to SharePoint MasterPage
Scripts Library is the name of the folder I created for storing JQuery Add it in the Head section of the Page <script type=”text/javascript”> if(typeof jQuery==”undefined”){ var jQPath=”/Scripts...
View ArticleShow or Hide Sharepoint 2010 Ribbon
This code helps you show or hide the ribbon depending on the user permission level. Change the PermissionsString accordingly. A little googling will help !! // // ]]>...
View ArticleQuick Launch in SharePoint 2010
Insert the following code in the Code Behind and Voila ! You see SharePoint Driven Quick Launch. Very useful when you want to move your quick launch to a custom location like right of the page....
View ArticleSharePoint Permission String Options
Member name Description EmptyMask Has no permissions on the Web site. Not available through the user interface. ViewListItems View items in lists, documents in document libraries, and view Web...
View ArticleHow to figure out Worker Process in SharePoint 2010
C:\Windows\System32\inetsrvappcmd list wp…
View ArticleCheck for sharepoint page edit mode using javascript
var inDesignMode = document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value; if (inDesignMode == "1") { // page is in edit mode } else { // page is in browse mode } …
View ArticleGet Content database Guid
Use SharePoint_config SELECT id, name FROM OBJECTS WHERE Properties LIKE ‘%Microsoft.SharePoint.Administration.SPContentDatabase%’…
View ArticleChange Publishing Page Layout using PowerShell
$spWeb = Get-SPWeb("http://abc.com/corp/tis/TISWorkspaces/Toxicologyproject/") $spFile = $spWeb.GetFile("http://abc.com/corp/tis/TISWorkspaces/Toxicologyproject/Pages/Home.aspx")...
View Article
More Pages to Explore .....