FP98: How to Create Custom Web Templates

ID: Q194153


The information in this article applies to:


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, follow these steps:

  1. Start FrontPage Explorer.


  2. Open or create the Web that you want to use for the Web template.


  3. Publish the Web to a disk-based Web. To do this, follow these steps:

    1. On the File menu, click Publish FrontPage Web.


    2. If the Publish FrontPage Web dialog box appears, go to step d. Otherwise, click to clear the "Publish changed pages only" check box.


    3. In the Publish FrontPage Web dialog box, click More Webs.


    4. In the "Please specify the location to which you want to publish your FrontPage Web" box, type the path of the folder on your hard disk in which you want to publish your web. For example, type this:
      c:\disk_based_Web\sub_Web


    5. Click OK.




  4. In Windows Explorer, select the disk-based Web you created.


  5. On the Edit menu, click Copy.


  6. Open the <FrontPageRoot>\Webs folder, where <FrontPageRoot> is the folder in which you installed FrontPage 98. By default, FrontPage 98 is installed in the \Program Files\Microsoft FrontPage\ folder. This folder contains several folders with the .tem and .wiz extensions .


  7. On the Edit menu, click Paste.


  8. Open the new folder. On the File menu, point to New, and then click Text Document. Name the new document, <template>.inf , where <template> is the name of the folder you created in step 7.


  9. Using a text editor such as Notepad, open the <template>.inf file and type the following information:
    [info]
    title=Custom Web Template
    description=My first Custom Web Template


  10. Save and close the file.


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: 98 Web template tmp


Keywords          : fpexp 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: July 30, 1999