RE: Change the default content on Wiki Home Page Feature?

2011-06-05 Thread Paul Noone
You could create your own feature which can be (optionally) activated after the site is created. If you wanted different content for different situations then you might like to create multiple versions of the feature and name them accordingly. * Home Page Sales * Home Page IT

Re: Change the default content on Wiki Home Page Feature?

2011-06-05 Thread Ajay
I have not used 2010 too much, so not sure about this wiki feature. In you site definition event handler you will write the code to add content, If the Wiki home page has webpart which has the content, you can use SPWebPartManager to get the instance of the webpart and than add your content. If

2007 - currentPublishingSite

2011-06-05 Thread Paul Noone
Hi all, I am trying to check if the current site's Title (or Name) equals News but appear to be having some syntax issues. :) Can someone please point me in the right direction? if (currentPublishingSite.Title.Equals(News)) Kind regards, Paul Noone