Microsoft KB Archive/171569

= FP: How to Create Custom Web Templates =

Article ID: 171569

Article Last Modified on 10/7/2003

-

APPLIES TO


 * Microsoft FrontPage 97 Standard Edition
 * Microsoft FrontPage 1.0 for Macintosh

-



This article was previously published under Q171569



For a Microsoft FrontPage 2000 version of this article, see 205694.

For a Microsoft FrontPage 98 version of this article, see 194153.



SUMMARY
This article describes how to create a Web template from any Web and make it available in the Template Or Wizard list in the New FrontPage Web dialog box. (To locate the Template Or Wizard list, point to New on the File menu, and then click New FrontPage Web.)



MORE INFORMATION
To create a Web template, use the appropriate method for your version of FrontPage.

Microsoft FrontPage 97
 Start FrontPage Explorer. Open or create the Web that you want to use for the Web template. Publish the Web to a disk-based Web, using these steps:

 On the File menu, click Publish FrontPage Web. In the "Destination Web Server or File Location" box, type the path of an existing folder on your hard disk. For example, type "c:\disk_based_Web" (without the quotation marks). In the "Name of Destination FrontPage Web" box, type a name for your Web. For example, type "sub_Web" (without the quotation marks).</li> Click to clear the "Add to an Existing FrontPage Web" check box.</li> Click OK.</li></ol> </li> In Windows Explorer, select the disk-based Web you created.</li> On the Edit menu, click Copy.</li> Open the <FrontPageRoot>\Webs folder, where <FrontPageRoot> is the folder in which you installed FrontPage 97. By default, FrontPage 97 is installed in the \Program Files\Microsoft FrontPage\ folder. This folder contains several folders with the .tem and .wiz extensions.</li> On the Edit menu, click Paste.</li> Open the new folder. On the File menu, point to New and then click Text Document. Name the new document, " .inf" (without the quotation marks), where is the name of the folder you created in step 7.</li>  Using a text editor such as Notepad, open the .inf file and type the following information: <pre class="fixed_text">     [info] title=Custom Web Template description=My first Custom Web Template </li> Save and close the file.</li></ol>

Microsoft FrontPage for the Power Macintosh, version 1.0
<ol> Copy the Web to the Macintosh HD:FrontPage Webs folder.</li> Rename the copied Web to " .tem" (without the quotation marks) where is the original folder name.</li>  Using a text editor, create a file called " .inf" (without the quotation marks) in the .tem folder that you created in step 2. The text file should contain the following information: <pre class="fixed_text">     [info] title=Custom Web Template description=My first Custom Web Template </li> Save the file.</li></ol>

When you open the New FrontPage Web dialog box, your custom template will be listed in the Template Or Wizard list as Custom Web Template. When you select your custom template, the "My first Custom Web Template" will appear in the Description box. When you click OK, the \_private and \images folders will be created in the new Web.

Additional query words: 97 Web template tmp

Keywords: kbhowto kbusage KB171569

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.