Creating WSS Templates
page 5 of 6
by Ameet Phadnis
Feedback
Average Rating: 
Views (Total / Last 10 Days): 31232/ 43

Deploying the Template to the server

Now we have created a new template.  The next task is to deploy it to the server.  This task is very easy.  On the server follow these steps.

·         Open Command Prompt and type in the following syntax:

stsadm.exe -o addtemplate -filename <template filename>
 -title <template title> [-description <template description>.]

·         I am going to type it as

""C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN\STSADM.exe" 
-o addtemplate -filename "C:\Articles\AmeetArticle.stp" -title "Ameet Article"
 -description "This article explains how to create Templates." ".

·         Once the operation is completed successfully, you have to do an IISReset.

With these steps we have deployed the template to the server.  The next step will involve using this template.  You are already familiar with how to create a WSS Site.  Once you create your WSS site on the Template Selection screen, you should see the newly created template.

 

Figure 17

When the site is created it will be similar to the design you created.  My new WSSDeploy site looks like the one below.

Figure 18


View Entire Article

User Comments

Title: lates Sioftware   
Name: Abdul Ahad
Date: 2008-10-11 3:45:45 AM
Comment:
Nice Informaton
Title: Themes in wss site   
Name: Lebo
Date: 2008-07-18 8:48:48 AM
Comment:
You article is so informative, Thanx. But I have only one problem, I have created my own theme but it doesent change the colour, how do I change the colour?(Worked on existing one and just changed the referencing) Hope you understand what I am trying to say.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2023 ASPAlliance.com  |  Page Processed at 2023-02-02 12:19:04 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search