FP: How to Create Custom Web Templates

Last reviewed: March 18, 1998
Article ID: Q171569
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack
  • Microsoft FrontPage for the Power Macintosh, version 1.0

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 following steps:

Microsoft FrontPage 98

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

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

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

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

        d. In the "Please specify the location to which you want to publish
           your FrontPage Web" box, type the path to the folder on your hard
           disk to which you want to publish. For example, type this:
    

             c:\disk_based_Web\sub_Web
    
        e. 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 97. By default, FrontPage 98 is installed in the c:\Program Files\Microsoft FrontPage\ folder. This folder contains several folders ending in .tem and .wiz.

  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" (without the quotation marks), 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 enter the following information:

          [info]
          title=Custom Web Template
          description=My first Custom Web Template
    

  10. Save and close the file.

Microsoft FrontPage 97

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

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

        b. In the "Destination Web Server or File Location" box, type the path
           to an existing folder on your hard disk. For example, type
           "c:\disk_based_Web" (without the quotation marks).
    

        c. In the "Name of Destination FrontPage Web" box, type a name for
           your Web.
    

        d. Click to clear the "Add to an Existing FrontPage Web" check box.
    

        e. 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 97. By default, FrontPage 97 is installed in the c:\Program Files\Microsoft FrontPage\ folder. This folder contains several folders ending in .tem and .wiz.

  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" (without the quotation marks), 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 enter the following information:

          [info]
          title=Custom Web Template
          description=My first Custom Web Template
    

  10. Save and close the file.

Microsoft FrontPage for the Power Macintosh, version 1.0

  1. Copy the Web from the hard disk to the Webs folder under the Microsoft FrontPage folder.

  2. Rename the copied Web to "<webname>.tem" (without the quotation marks) where <webname> is the original folder name.

  3. Using a text editor, create a file called "<webname>.inf" (without the quotation marks) in the <webname>.tem folder where <webname> is the original folder name. The text file should contain the following:

          [info]
          title=Custom Web Template
          description=My first Custom Web Template
    

  4. Save 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 97 Web template tmp
Keywords : fpexp kbusage kbdta
Version : windows:97,98; macintosh:1.0
Platform : MACINTOSH WINDOWS
Hardware : MAC x86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.