blog top 101 other stuff

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.

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...

<-- Back to Introduction | Using a Template -->