Thinking to creating a cool theme for your site...then download the theme builder from Microsoft http://connect.microsoft.com/ThemeBuilder and you can create cool gradient theme in no time.
Text/Background- Dark 1:
• Page Title Hyperlink Text
• Hover Text
• VB Body Text
• Site Action Menu Text
• Left Navigation Links Text
• Site Setting Page Text Headers
Text/Background - Light 1:
• Body Background
• Toolbar Background
• Quick Launch Borders
• Web Part Header Background
• Site Action Menu Background
• Site Action/Welcome Text Color
• Pop-Up Window Background
Text/Background - Dark 2:
• Top Banner Background
• Left Navigation Header Text
• Recycle Bin/View All Site Content Text
• I Like/Tags Notes Text
• Library Column Text
• Site Action Drop Down Border
• Breadcrumb Current Location Text
• List Description Text
Text/Background - Light 2:
• Browse Tab and hover Background
• Title Container Background
• Top Links/Header 2 Background
• Quick Launch Background
• Web Part Adder Background
Accent 1:
• Quick Launch Hover Text
• Top Link Selected Tab
Accent 2:
• .ms-error
• Rich Text Colored Heading 2 Text Styles
Accent 3:
• Rich Text “Caption” Style Text Color
Accent 4:
• Border Under Web Part Selector
Accent 5:
• Rich Text Colored Heading 4 Text Styles
Accent 6:
• Rich Text Highlight background color
Hyperlink:
• Toolbar Text Color
• VB Body Hyperlink Text
• a:link Class Text Color
Followed Hyperlink:
• .ms-WPBody a:visited
Thursday, November 18, 2010
Wednesday, November 10, 2010
Make Links Open In New Window
Well we know, when you add a link to your SharePoint navigation or in a Summary Link Web Part, it gives you the option to "Open link in new window" But when comes to a standard Links list, doesn't give you this option.
Here is The Script to open the link in a new window: (Content Editor web part, or even added to your master page.)
<script language="javascript" type="text/javascript" >
function MakeLinksOpenInNewWindow(){
var tbl = document.getElementsByTagName('table');
for(var i = 0; i < tbl.length; i++)
{
if(tbl[i].getAttribute("summary") == "Links Use the Links list for links to Web pages that your team members will find interesting or useful.")
{
var anc = tbl[i].getElementsByTagName('a');
for(var j = 0; j < anc.length; j++)
{
anc[j].setAttribute('target', '_blank');
}
}
}
}
_spBodyOnLoadFunctionNames.push("MakeLinksOpenInNewWindow");
</script >
Note: You can modify default Summary attribute by editing Links >> List Settings >> General Settings {Title, description and navigation} Description field of that Links list.
Also note that Summary attribute constructed with combination of Name + Description of the List
Here is The Script to open the link in a new window: (Content Editor web part, or even added to your master page.)
<script language="javascript" type="text/javascript" >
function MakeLinksOpenInNewWindow(){
var tbl = document.getElementsByTagName('table');
for(var i = 0; i < tbl.length; i++)
{
if(tbl[i].getAttribute("summary") == "Links Use the Links list for links to Web pages that your team members will find interesting or useful.")
{
var anc = tbl[i].getElementsByTagName('a');
for(var j = 0; j < anc.length; j++)
{
anc[j].setAttribute('target', '_blank');
}
}
}
}
_spBodyOnLoadFunctionNames.push("MakeLinksOpenInNewWindow");
</script >
Note: You can modify default Summary attribute by editing Links >> List Settings >> General Settings {Title, description and navigation} Description field of that Links list.
Also note that Summary attribute constructed with combination of Name + Description of the List
Friday, October 15, 2010
A Blank, White Web Page Is Displayed in IE
Make sure that LOOPBACK CHECK is disabled, To disable the loopback check. follow these steps:
1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate and then click the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. Right-click Lsa, point to New, and then click DWORD Value.
4. Type DisableLoopbackCheck, and then press ENTER.
5. Right-click DisableLoopbackCheck, and then click Modify.
6. In the Value data box, type 1, and then click OK.
7. Quit Registry Editor, and then restart your computer.
Note: This also helps in fixing calling custom web services in InfoPath form which returns with null/no data
1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate and then click the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. Right-click Lsa, point to New, and then click DWORD Value.
4. Type DisableLoopbackCheck, and then press ENTER.
5. Right-click DisableLoopbackCheck, and then click Modify.
6. In the Value data box, type 1, and then click OK.
7. Quit Registry Editor, and then restart your computer.
Note: This also helps in fixing calling custom web services in InfoPath form which returns with null/no data
Thursday, October 14, 2010
Web Part Page Maintenance
All I know was use my book marked Manage Web Part Page URL from my IE favorites to bring up maintenance page to fix the web part.
http://<site>/_layouts/spcontnt.aspx?&url=default.aspx
by change the site and url parameter.
But lately found out that if you add the ?contents=1 to your page at the end, system will build the manage webpart maintenance page!! How cool is that?
http://<site>/_layouts/spcontnt.aspx?&url=default.aspx
by change the site and url parameter.
But lately found out that if you add the ?contents=1 to your page at the end, system will build the manage webpart maintenance page!! How cool is that?
Tuesday, October 12, 2010
SharePoint 2010 Installation on Windows 7
Fallow this great link http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx
But you need to skip few things:
1. Step 2: Install the Prerequisites for SharePoint 2010: No need to extract etc. once you have your .ISO
Add the following line inside the tag under files\Setup\config.xml
2. Step 3: Install SharePoint 2010: Skip Install SQL Server 2008 KB 970315 x64 if you already have SQL Server 2008. (this will install SQL Express DB Instance "SHAREPOINT")
Note:
1. While Installing SQL Server 2008, Create SQL Instance as "SHAREPOINT"
2. Install right through .ISO file , no need to download single compressed executable file named SharePointFoundation.exe for SharePoint Foundation 2010 and setup.exe for SharePoint Server 2010.
3. Try to avoid installing 64bit office , if you have 64bit Win7, go with 32bit office much stable.
But you need to skip few things:
1. Step 2: Install the Prerequisites for SharePoint 2010: No need to extract etc. once you have your .ISO
Add the following line inside the
2. Step 3: Install SharePoint 2010: Skip Install SQL Server 2008 KB 970315 x64 if you already have SQL Server 2008. (this will install SQL Express DB Instance "SHAREPOINT")
Note:
1. While Installing SQL Server 2008, Create SQL Instance as "SHAREPOINT"
2. Install right through .ISO file , no need to download single compressed executable file named SharePointFoundation.exe for SharePoint Foundation 2010 and setup.exe for SharePoint Server 2010.
3. Try to avoid installing 64bit office , if you have 64bit Win7, go with 32bit office much stable.
Monday, September 20, 2010
Hiding the context menu Options/Items
Add the Content Editor web part, add below code to it.(remove items which you want to see!!)
<script type="text/javascript">
function CAMOpt(p,wzText,wzAct,wzISrc,wzIAlt,wzISeq,wzDesc)
{
var mo=CMOpt(wzText,wzAct,wzISrc,wzIAlt,wzISeq,wzDesc);
if(!mo)return null;
if(wzText != "View Properties")
if(wzText != "Edit Properties")
if(wzText != "Manage Permissions")
if(wzText != "Edit Document")
if(wzText != "Delete")
if(wzText != "Send To")
if(wzText != "Check Out")
if(wzText != "Version History")
if(wzText != "View Workflow History")
if(wzText != "Schedule Workflows")
if(wzText != "Alert Me")
AChld(p,mo);
return mo;
}
</script>
<script type="text/javascript">
function CAMOpt(p,wzText,wzAct,wzISrc,wzIAlt,wzISeq,wzDesc)
{
var mo=CMOpt(wzText,wzAct,wzISrc,wzIAlt,wzISeq,wzDesc);
if(!mo)return null;
if(wzText != "View Properties")
if(wzText != "Edit Properties")
if(wzText != "Manage Permissions")
if(wzText != "Edit Document")
if(wzText != "Delete")
if(wzText != "Send To")
if(wzText != "Check Out")
if(wzText != "Version History")
if(wzText != "View Workflow History")
if(wzText != "Schedule Workflows")
if(wzText != "Alert Me")
AChld(p,mo);
return mo;
}
</script>
Monday, October 12, 2009
Turn off the "Powered by: InfoPath Forms Services" logo in Forms Server 2007
Tired of getting rid of default Line and "Powered by: InfoPath Forms Services " display from Form Server 2007!
It's render by "ifsmain.css" from "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\INC"

To determine whether the logo is turned on or whether the logo is turned off, run the following SQL script.
stsadm -o getformsserviceproperty -pn AllowBranding
To turn off the logo, run the following SQL script:
stsadm -o setformsserviceproperty -pn AllowBranding -pv false
Incase if you want it back, To turn on the logo, run the following SQL script:
stsadm -o setformsserviceproperty -pn AllowBranding -pv true
It's render by "ifsmain.css" from "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\INC"

To determine whether the logo is turned on or whether the logo is turned off, run the following SQL script.
stsadm -o getformsserviceproperty -pn AllowBranding
To turn off the logo, run the following SQL script:
stsadm -o setformsserviceproperty -pn AllowBranding -pv false
Incase if you want it back, To turn on the logo, run the following SQL script:
stsadm -o setformsserviceproperty -pn AllowBranding -pv true
Subscribe to:
Posts (Atom)