-->

Sunday, June 22, 2008

How to Debug Feature Receiver Assemblies in Visual Studio - MOSS 2007

If you try to activate the feature using stsadm command you will not be able to debug the feature receiver assemblies.



Open the Site collection features in

Site Actions ->

Site Settings ->

Modify All Site Settings ->

Site Collection Administration -> Site Collection features


  • Attach the w3wp.exe process in visual studio.
  • Place breakpoints.
  • Then Activate the feature in site collection features

Friday, June 20, 2008

Set Default Text for RichHtmlField in MOSS 2007

In WCM most of you guys may use RichHtmlField in publishing Layout.
To set default text property to RichHtmlField using HTML property to pass your default text.

Example:
[PublishingWebControls:RichHtmlField FieldName="CountrySectionTitle3" runat="server" id="RichHtmlField5" AllowExternalUrls="true" AllowFonts="true" AllowHeadings="false" AllowHtmlSourceEditing="false" AllowHyperlinks="true" AllowImages="false" AllowLists="false" AllowReusableContent="false" AllowTables="false" AllowTextMarkup="false" Html="[html][body][p]--Default Text--[/p][/body][/html]"] [/PublishingWebControls:RichHtmlField]

Note:
Sorry Guyz, Still i am not able to post the tags pls replace '[' with '<' and ']' with '>'

Saturday, June 7, 2008

MOSS 2007 Patches after SP1

Some of the Patches released by microsoft for MOSS 2007 after SP1
http://support.microsoft.com/kb/941422
http://support.microsoft.com/kb/941274
http://support.microsoft.com/kb/942819
http://support.microsoft.com/kb/948945
http://support.microsoft.com/kb/948947
http://support.microsoft.com/kb/948957
http://support.microsoft.com/kb/949402/en-us
http://support.microsoft.com/kb/949955/en-us
http://support.microsoft.com/kb/950280/en-us
http://support.microsoft.com/kb/950292/en-us
http://support.microsoft.com/kb/950487/en-us

Saturday, May 17, 2008

How to Change the Background Color of WebPart Title

Hey Guys,
I got a requirement from the business to change the Background color of the webpart title for Out of Box webparts. Then i started looking on CSS I found the following CSS class which overrides the style of WebPart Title.

.ms-WPHeader TD
{
border-bottom:0px solid #4e7cb7;
border-collapse:collapse;
}

Change this class as per your requirement then you are done....

.ms-WPHeader TD{
height:40px;
background-color: #0174DF;
font-size: larger;
font-weight: bold;
border-bottom:0px solid #4e7cb7;
border-collapse:collapse;
}

Monday, March 10, 2008

MOSS 2007 Pricing & Costing Info

I have consolidated few links from Microsoft for MOSS 2007 Product Costing.

Microsoft Office SharePoint Server 2007 and Related Technologies pricing

Microsoft Office SharePoint Server 2007 products comparison download

2007 Microsoft Office system pricing and upgrade information

How to Hide Quick Launch in MOSS 2007

Do you want to hide your quick launch Bar in MOSS 2007
There are two ways to hide the quick launch bar
1. You can edit directly in CSS
2. Adding Hidden content editor webpart

Add new content editor webpart
Click Source Editor in ToolPane
paste the below code in content editor webpart
[style]
.ms-quicklaunch
{
display:none;
}
.ms-navframe
{
display: none;
}
[/style]
Use "<" & ">" instead of "[" & "]"
Set the Hidden Property to True under layout section in ToolPane.
Now Refresh the Page......You Quick Launch Bar is Gone :-)