[Previous] [Content Page] [Next]
Creating a Page TemplateBack in Tutorial 10 (Section 10.2.1), you learned all about how FrontPage site templates can furnish you with a ready-made collection of pages, waiting for you at the click of a button. Just add content to each page, and you're good to go. FrontPage lets you perform a similar trick with individual page templates, which are especially helpful if you're creating lots of pages that you want to look alike. Page templates are like blueprints: you design the page's structure, add in any design elements you want, and then every time you want a replica, you just click the template. Violà, a pristine copy awaits you, to which you can then add any additional content you like. If your site has, say, separate pages for the 28 kinds of emu vests you're selling, templates can be a great timesaver: just create one emuvest template, and then you can quickly fill in the details on each new page you create from the template. Templates come in two varieties: static and dynamic. Static templates, which you'll learn about in this section, work like a photo copier: you can create as many copies as you like, but once a copy has been made, you can only change it by modifying the copy. For instance, if you've generated your 28 emu pages, and then you decide you want to include a different color for the heading that's on each page, you have to change each and every page separately. Dynamic templates, which you'll learn about in the next section, let you apply changes to all the pages that use your template, even after they've been generated. 11.5.1. Creating a TemplateTo create your own static page template:
Note: FrontPage saves your template on your computer's C:\ drive in a FrontPage program directory outside your Web site. Of course, this means that you're the only one who can use it. If you want to grant access to others working on your site, then (once you get to the Save As Template dialog box) turn on the "Save Template in Current Web site" checkbox. This way, FrontPage saves the template within the site's directory, where your colleagues can find it. 11.5.2. Editing a TemplateModifying a template is pretty easy: create a new page using the template and make the changes you want to show up in the template. Then, save the file, using Save As (File Note: Remember, modifications to a static template don't affect any pages already created with the template. 11.5.3. Creating Pages with a TemplateAny FrontPage template you create appears with the other FrontPage templates. Select File |
[Previous] [Content Page] [Next]
