stapling

How do I add custom column to existing WSS list template

I need to use feature stapler to add some text columns to Posts list inside OOTB blog site definition. I plan not to use site columns, but only to add those columns to list (I don't use site columns because I have multiple site collections and there will be only one Posts list per site collection, so site columns are not very reusable in...

Adding Web Part with Stapling Feature

Hi, I have a problem adding web part to a blog default.aspx with stapling Feature. this is my code: try { SPWeb web = (SPWeb)properties.Feature.Parent; //SPFile thePage = web.RootFolder.Files["default.aspx"]; SPLimitedWebPartManager wpm = web.GetLimitedWebPartManager("default.aspx",PersonalizationScope.Shared); ....... but every tim...