【发布时间】:2010-11-24 10:14:10
【问题描述】:
我正在使用这种方法创建新的站点定义:
当它们被创建时,它们并没有像我期望的那样使用站点的“标题”,而是都说“主页”。
在我的 SiteTemplates/customsite/onet.xml 文件中,我使用以下内容:
<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;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900B92C2841B98136F108;#" />
</File>
</Module>
所以我看到它正在从资源文件中提取主页,但我认为它还应该将站点的标题附加到页面的标题中。这是正确的吗?
【问题讨论】:
标签: sharepoint