The current time is
Sunday, March 22, 2009
"Unable to load client print control" bug is finally fixed !!!
Monday, January 12, 2009
Some Sharepoint lessons learnt... Just today
Thursday, May 29, 2008
So you think you can hide...
Maybe you wanna check this snippet... Tells you most of them... But you'll need to do this by adding this pieces of code into a web part so that if it's used within the page... It would hide those elements... ;)
In other words, injected code... :D
/* To hide Quick Launch menu */
.ms-quicklaunchouter { display: none;}
.ms-quicklaunchheader { display: none;}
.ms-quicklaunch { display: none;}
.ms-titlearea {width: 150%;}
.ms-leftareacell {width: 1px;}
.ms-titleareaframe {width: 1px;
/* To hide top nav bar */
.ms-topNavContainer { display: none;}
/* To hide Welcome and My Site link section */
.ms-globalright { display: none;}
/* To hide search section */
.ms-sbrow { display: none;}
/* To hide breadcrumbs */
.breadcrumb { display: none;}
Referrence: http://hardeepm.spaces.live.com/blog/cns!7877E3B0A44BBBF!156.entry
Wednesday, May 28, 2008
Your window.onload may cause problems in Sharepoint !!
Sharepoint works as follows...
onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();",
So if one would like to execute some function onload of a page... doing so:
window.onload = function()
would really cause him trouble since he'll overwrite the sharepoint function calls...
So the smart way of doing this is to use:
_spBodyOnLoadFunctionNames.push('myFunction_01');
_spBodyOnLoadFunctionNames.push('mySecondFunction');
Reference: http://blogs.tamtam.nl/mart/UsingWindowonloadInSharePointPages.aspx
Tuesday, May 27, 2008
Heck...Parser error all of a sudden
I even undid any changed and still the error was there...
It said the following:
Parser Error Message: Data at the root level is invalid. Line 1, position 1.
Source Error:
Line 1:
Line 2:
Line 3:
Source File: /App_Browsers/compat.browser Line: 1
After some searching, I found the cause of this really strange behavior...
Some folders are created named "_vti_cnf" just beside the file "compat.browser".
This folder contained another compat.browser file containing some metadata. I
deleted this folder and this fixed the problem.
However, I hope this doesn't cause more troubles... If I find out anything, definitely I'll post it here :))