Quantcast
Channel: Cyber Brutus » MOSS
Browsing latest articles
Browse All 10 View Live

Sharepoint 2010 Hide Quick Launch

/*–Hide Quick Launch –*/ #s4-leftpanel{ display:none } .s4-ca{ margin-left:0px }…

View Article



Fixed width master page for SP 2010

/* Page */ body #s4-bodyContainer { width: 960px !important; margin-right: auto; margin-left: auto; }…

View Article

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

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

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


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

How to figure out Worker Process in SharePoint 2010

C:\Windows\System32\inetsrvappcmd list wp…

View Article

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


Get Content database Guid

Use SharePoint_config SELECT id, name FROM OBJECTS WHERE Properties LIKE ‘%Microsoft.SharePoint.Administration.SPContentDatabase%’…

View Article


Change 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
Browsing latest articles
Browse All 10 View Live




Latest Images