views:

1075

answers:

1

Now i am using the sharepoint extensions 1.1 for Visual Studio 2005 to deploy my website in Sharepoint 2007. When you create a new site, there is a new default page with the contenttype: Welcomelinks..., i would like to change it including my own ContentType and PageLayout in the onet.xml. The way to deploy I am using is Team Definition.

Could someone give some code, plz?

A: 

Did you try applying your module to the onet.xml file?

in

<Project...>
  <Configurations...>
    <configuration...>
      <Modules>

Create a module element:

<Module Name="Default"/>

Then in

<Project..>
  <Modules>

have something like this for the definition:

<Module Name="Default" Url="" Path="">
    <File Url="default.aspx" NavBarHome="True">
    </File>
</Module>

I think that will at least put you on the right track. I hope.

dirq