如何在MOSS2007中定制站点定义
来源:互联网 发布:天正电气制图软件 编辑:程序博客网 时间:2024/03/29 22:09
站点定义位于SharePoint 服务器的如下目录中:
C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/SiteTemplates
站点定义由SharePoint注册,并通过WEBTEMP<NAME OF SITE DEFINITION>.XML文件生效。
WEBTEMP文件位于如下目录中:
C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/1033/XML
在MOSS2007中创建定制的站点定义
步骤如下
1.复制一个现存的站点定义;
转到如下目录:
C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/SiteTemplates
拷贝sts目录,并把它粘贴会同一个目录,把它重命名为SAMPLE.
转到如下目录
C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/1033
拷贝STS目录,并把它粘贴会同一个目录,把它重命名为SAMPLE.
2.创建一个WEBTEMP XML文件用于在SharePoint 中注册站点定义。
在如下目录中创建一个名为WEBTEMPSAMPLE.XML的文件,把下列XML粘贴到文件中:
<?xml version="1.0" encoding="utf-8" ?>
<!-- _lcid="1033" _version="12.0.4017" _dal="1" -->
<!-- _LocalBinding -->
<Templates xmlns:ows="Microsoft SharePoint">
<Template Name="SAMPLE" ID="10001">
<Configuration ID="0" Title="Sample Site" Hidden="FALSE" ImageUrl="/_layouts/images/stsprev.png" Description="This sample template creates a site for teams to create, organize, and share information quickly and easily. It includes a Document Library, and basic lists such as Announcements, Calendar, Contacts, and Quick Links." DisplayCategory="Custom Site Definitions" > </Configuration>
<Configuration ID="1" Title="Sample Blank Site" Hidden="FALSE" ImageUrl="/_layouts/images/stsprev.png" Description="This sample template creates a Windows SharePoint Services-enabled Web site with a blank home page. You can use a Windows SharePoint Services-compatible Web page editor to add interactive lists or any other Windows SharePoint Services features." DisplayCategory="Custom Site Definitions" > </Configuration>
<Configuration ID="2" Title="Sample Document Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/dwsprev.png" Description="This sample template creates a site for colleagues to work together on documents. It provides a document library for storing the primary document and supporting files, a Task list for assigning to-do items, and a Links list for resources related to the document." DisplayCategory="Custom Site Definitions" > </Configuration>
</Template>
</Templates>
3.将IIS复位
4.创建一个基于自定义站点定义的站点。
- 如何在MOSS2007中定制站点定义
- 如何在MOSS2007中创建一个定制的 Document Library Feature
- 一步步在SharePoint中使用模板定制顶级站点
- 一步步在SharePoint中使用模板定制顶级站点
- 如何在站点中使用多个站点地图文件
- 如何在Web中定制条形码
- 如何在oracle中定制一个job
- 如何在UIKeyboard中加入定制button
- 如何在iOS5中定制用户界面
- 如何在iOS5中定制用户界面
- 在MOSS2007中开发并部署自定义WebService
- WSS3SDK之:如何在SharePoint站点中创建Web应用程序
- 如何在apache中发布多个站点
- 如何在iis中设置站点的编码格式。
- 如何在ASP.NET 2.0中定制Expression Builders
- 如何在ASP.NET 2.0中定制Expression Builders
- 如何在Flex 4中定制皮肤样式
- 如何在TWaver Flex中定制Tree的tooltip
- 关于MOSS 2007的Content Types
- 关于MOSS 2007 and WSS 3.0 Master Page
- 如何在MOSS 2007 中将一个Document Library 增加到站点定义中
- 如何在MOSS2007中创建一个定制的 Document Library Feature
- SMS/SCCM 在工作组环境下的使用
- 如何在MOSS2007中定制站点定义
- MSDN:Windows SharePoint Services 3.0 中使用代码的开发工具和技术(第 1 部分)
- MSDN:Windows SharePoint Services 3.0 中使用代码的开发工具和技术(第 2 部分)
- 一个将中文字符转成unicode编码的小程序
- SharePoint WebPart开发实战(一):定制属性及配置界面
- 交朋友之道
- 谷歌Facebook高薪争夺大学毕业生
- MOSS:实现Form认证(1)——生成用户数据库
- 电子商务的趋势性