Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

SharePoint Site Definition Files - Page is always named "Home"

  Asked By: Melanie Scott         Date: Sep 30, 2009      Category: Sharepoint      Views: 185
 

I'm creating new Site Definitions using this method:

weblogs.asp.net/.../creating-a-custom-sharepoi\
nt-2007-portal-site-definition-using-the-portalprovisioningprovider-class.aspx

and when they get created, they're not using the "Title" of the Site as I'd
expect, instead they all say "Home".

In my SiteTemplates/customsite/onet.xml file I'm using the following:

<Module Name="LifeWork" Url="$Resources:cmscore,List_Pages_UrlName;" Path="">
<File Url="default.aspx" Type="GhostableInLibrary" Level="Draft">
<Property Name="Title"
Value="$Resources:cmscore,IPPT_HomeWelcomePage_Title;" />
<Property Name="PublishingPageLayout"
Value="~SiteCollection/_catalogs/masterpage/LifeWork.aspx, Life & Work Page
Layout" />
<Property Name="ContentType" Value="LifeWork" />
<Property Name="PublishingAssociatedContentType"
Value=";#NibrLifeWork;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064\
584E219954237AF3900B92C2841B98136F108;#" />
</File>
</Module>

So I see that it's pulling Home from the resource file, but I thought it should
also append the Title of the Site into the Title of the page. Is this correct?


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:                  

 

No Answers Found. Be the First, To Post Answer.

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].