Monday, May 12, 2008

Custom Site Definitions

Did you know you can create your own tab for organizing your custom site definitions? The tabs I am referring to are located on the new web/site page ( _layouts/newsbweb.aspx).

To add your own tab you will want to add your own unique DisplayCategory attribute to the configuration section of the WEBTEMP*.XML file for your new site definition.

Example Code:

<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=”Shane’s Site Definitions” >


No comments: