creating and using template documents in golive
creating a template document
Templates, new in version 6 of GoLive, are very much like Stationery documents with several very important differences. Unlike a Stationery page which can be edited by anyone, a Template page gives you the option of locking certain regions so that they can’t be changed, at least not by anyone else using GoLive. A Template can also be applied to an existing page, merging the contents. Finally, if you update a Template page, the changes will be automatically made to all pages created from the original.
1. Prepare a page with basic design elements.
Open your site in GoLive, create a new page, and add the design elements you want in your Template. You might insert a layout grid, arrange boilerplate text (blocks of meaningless text to take up space during the design phase) and graphics on the page.
2. Save the page as Template.
From the File menu select Save As... and give the page a name suitable for a template (such as pagetemplate.html). Don’t click Save yet.

Choose Templates from the special pop-up menu at the bottom of the Save As dialog box (this window will look different in Windows). This will take you to the Templates folder for your site. Click Save but don’t close the page.
3. Create the "editable regions".
Open the Template Regions palette from the Window menu.

- In the page, select the region you want to add to the list. This could be a graphic, one cell of a table or a whole table.
- In the Template Regions palette, click the New Editable Region button at the bottom right next to the trashcan.
- Give the region a name. The new region will get a pale green background in the editor window.
- Repeat these steps to add additional regions to this page.
4. Save the page again (not Save As this time) and close it.
5. Attach a stylesheet to the page.
Every page created using this Template document will use the same stylesheet unless you change it after it is added to the site. To attach the stylesheet...
- Click the Extras tab in the left side of the site window. If you don’t see the Extras tab, click the double-arrow in the lower right corner of the site window.
- Open the Templates folder and click once on your Template document.
- In the CSS palette, add the stylesheet to the list associated with this page.

