Applying a page template to existing pages


    You can apply a page template to pages that already have content in them. When you apply a page template, GoLive looks for matching names of marked editable regions in the existing content. If any are found, GoLive automatically moves the existing content into the regions. If no matches are found, GoLive displays a list of regions in the template to choose from and the option to overwrite the content by not choosing a specific region.

    Using the Template Regions palette, you can quickly prepare existing content for a template by marking new editable regions of the same type (paragraph, inline, or object) and automatically renaming the regions with matching names from the template.

To prepare content on a page with matching region names:

  1. Display the template and the page side by side.
  2. Select the content on the page, and then click the Create New Editable Region button New Workspace button in the Template Regions palette.
  3. Alt-drag (Windows) or Command-drag (Mac OS) from the new region in the palette to the region in the template that has the name you want to use for the new region. GoLive applies the name of the template's region to the new region.
  4. Alt-drag or Command-drag to apply the template's region name Months to a new region.
    Alt-drag or Command-drag to apply the template's region name "Months" to a new region.

To apply a page template to an existing page:

  1. Do one of the following:
    • Drag the template's icon from the Templates tab of the Library palette into the page.
    • Choose Special > Template > Apply Template. Then select the template and click Open.

    If all editable region names in the page match region names in the template, GoLive moves the page content into the regions defined in the template. The Select Editable Region dialog box appears if there is content on the page that is unmarked or marked with nonmatching region names.

  2. If the Select Editable Region dialog box appears, do one of the following:
    • Select a region in the template to move the content into and click OK.
    • Select None to overwrite the content on the page and click OK.

To try out multiple templates with matching region names on existing pages:

  1. Apply the first template to the pages.
  2. Select the template in the Extras tab in the site window, and open the In & Out Links palette.
  3. Choose Palette Options from the palette menu, select Links to File, and click OK to display all pages that are linked to the template.
  4. Drag the pick whip pick whip in the Links tab of the In & Out Links palette to the second template in the Extras tab in the site window.
  5. Click OK to change the reference.
  6. For more information, see Using the In & Out Links palette to view links.