blogs

blogs

05.252011
0 0

Print CSS in SharePoint 2010

/* This CSS removes the header, navigation and other action elements from the print preview */ 1. @media print{ .ms-globallinks,.ms-siteaction,.ms-areaseparatorcorner,.ms-titlearealeft,.ms-searchform, .ms-banner,.ms-buttonheightwidth,.ms-areaseparatorright,.ms-titlearearight, .ms-rightareacell,.ms-leftareacell.ms-areaseparatorleft{ display:none; } /*Insert your print stylsheet here */ } 2. /* To use this CSS for just add the <link> to this CSS with the media=”print” in your master Page */ <link rel=”stylesheet”…

Read More
05.032011
0 0

Change Document Uploading Size in SharePoint 2010

It is actually 2GB in SP2010 and SP2007, and this is a hard limit. However, each web application by default is set to 50MB. You can go to the General Settings of a Web Application and tweak this setting. Central Administration -> Application Management -> Manage Web Applications   Once there highlight the web application…

Read More
04.272011
0 0

Scrolling Site Title Bar Script

Copy and Paste below cod in website head section : <head> <title>Site Name &nbsp;&nbsp; ::: &nbsp;&nbsp;Welcome to A &nbsp;</title> <script type=”text/javascript” language=”javascript”> var repeat=2 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1 var title=document.title var leng=title.length var start=1 function titlemove() { titl=title.substring(start, leng) + title.substring(0, start) document.title=titl start++ if (start==leng+1) {…

Read More
04.142011
0 0

Create Batch File to Deploy a Webpart in a SharePoint Site

Create new text file setup.bat and paste below code and save it : @rem====================================================================== @rem setup.bat @rem @rem====================================================================== @echo off setlocal pushd . goto LInitialize @rem———————————————————————- @rem LInitialize @rem———————————————————————- :LInitialize set SPLocation=%CommonProgramFiles%\Microsoft Shared\web server extensions\12 set SPAdminTool=%SPLocation%\BIN\stsadm.exe set Install= set Uninstall= set PackageFile=WSPPAckageNAme.wsp set PackageName=WSPPackageName.wsp set DefaultWebUrl=http://ServerName:29393 set DefaultSiteUrl=http://ServerNAme:29393 set TargetWebUrl=http://ServerName:29393 set TargetSiteUrl= set SPTemplateLocation=%SPLocation%\template…

Read More
03.052011
0 0

SharePoint 2010 and Google Chrome where the Scrolling and Ribbon Do Not Work

Reason for the Chrome/Scroll bar issue. Its the SharePoint Search bar. <asp:ContentPlaceHolder id=”PlaceHolderSearchArea” runat=”server”> <SharePoint:DelegateControl runat=”server” ControlId=”SmallSearchInputBox” Version=”4″/> </asp:ContentPlaceHolder> If I put this in the hidden panel in the bottom of my master page the scroll and ribbon issues in Chrome go away. Give it a try and see if its the same for you…

Read More
02.232011
0 0

Flash / Swf not Working in SharePoint 2010

By default flash files are disabled by SharePoint 2010. You can enable flash by following steps: 1. Navigate to central administration > 2. Application Management > Manage Web applications > Then select your web application > 3. From top ribbon select > general settings > general settings> 4. Navigate to “Browser File Handling” 5. Select…

Read More