john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

wss 3 custom page template

CUSTOM TEMPLATE PAGE


We want a custom site template...

Step 1: Clone an existing Site Definition.

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\SiteTemplates COPY Blog and rename it TEST

Step 2: Modify the WEBTEMP.XML file to register the Site Definition with SharePoint.

(format: )

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML\WEBTEMP.XML

Step 3: Reset IIS

If you try to create a new Site & Workplace you'll now notice that TEST appears as an option. (But it will merely be another copy of Blog)...

Now any time you create a new site of type TEST it will use the "default.aspx" to control the layout.


IT IS BEST TO USE THE BLANK SITE Template (which is a version of the STS...) but be aware, when you modify

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML\WEBTEMP.XML

The Template name is STS but it has multiple configurations! (which I've reduced to one)