Site Extras
Adobe GoLive CS2
updated 11/05

GoLive makes it possible to save pieces of code to be used over and over. Pieces of code are saved in the Data Folder of the Site File in the form of Snippets, Components, Stationery, and Templates. These extras can be accessed whenever necessary.

Snippets
Snippets are objects or text (code or content) that you can use over and over in your site. Copying any item to the Library Tab of the Site File will turn it into a Snippet. To create a Snippet, go to Window/Site/Library. Open the page containing the desired object or text, select it and drag it to the Site Specific folder of the Snippet Tab in the Library Palette. Name the Snippet as desired. Drag the snippet from the library to any page. When editing Snippets, the changes you make do NOT apply to the pages that currently contain it, for this capability, use Components instead.


Components
Components are similar to Snippets except that editing them changes all existing instances of the Component, and they are linked to rather than pasted into a document. Components should be stored in the Components Folder in the site's Data Folder.

Anything on your site that occurs frequently, such as a navigation bar, header, or footer can be saved as a Component.

  • Drag a new page from the Site section of the Objects Toolbar to the Components Folder.
  • Double click the Component and add the desired information.
  • To add a Component to a document, click on the Smart Objects tab in the Objects Toolbar. Drag the Component icon on to the desired page.
  • A Component place holder will appear, along with the Component Inspector.
  • Drag the Point and Shoot or Fetch URL button in the Inspector to the Component's icon in the Component folder of the Site File's Data folder.

Stationery
Stationery is a type of template that can be used to create multiple pages with the same design. To make Stationery, drag a new page to the Stationery section in the Extras tab on the right side of the Site File. Alternatively, create the page and then save it in the stationery folder, using the shortcut button in the finder, below.

To use the Stationery, double click on its icon in the Site File's Stationery Folder. Click Create to create a new page with the existing Stationery, or click Modify to modify the Stationery.

Note: Changing stationery will not change any existing pages; only those pages made after the change will be affected. Use a template for these capabilities.


Templates
Templates are similar to Stationery doucuments except that when a template is changed, all existing pages created with the template will change as well. In addition, editable regions of each template must be designated through the Template Regions window (below). Create a template by adding a new page to the Template folder in the Extras Tab on the right side of the Site File. Add all necessary design elements. Select and name the desired editable region(s) and click the New Editable Region button on the bottom right of the Template Regions palette. "You can create two types of editable regions: paragraphs or inline selections within a paragraph. When a region is marked as an inline text style, you can’t insert paragraphs in the region—in other words, you can type in the region but you can’t press return to start a new paragraph." GoLive Help Menu

When saving, use Save As and choose Templates in the Site Folder drop down menu. Double click a template to create a new page or modify the existing template.

Use the Templates section of the Special menu to detach and apply templates.