Creating co-author templates


    Co-author templates specify the layout of items by using editable regions. A co-author section can have an unlimited number of templates. You can create two types of templates: page templates and list templates. Page templates let you create a separate Web page for each story in the co-author section. List templates let you create a single Web page that contains a list of the items (editable regions) from multiple stories.

    TipYou can use a list template as a component to populate table cells on a static Web page. Create the list template and then link a cell's component to the template using the Inspector. After you create stories and generate the Web pages, the table cell contains a list of the repeated regions from multiple stories.

To create a page or list template:

  1. Open a new page, and then choose Window > Co-Author. The Co-Author palette opens.
  2. Choose File > Save As and save the template file to the section's Templates folder. Saving the file to the Templates folder lets you assign editable regions to it.
  3. In the Layout window, select the contents of the first editable region you want to create. In the Co-Author palette, select the corresponding Item from the Apply Region menu.
  4. If you want to create a list template, select the element that contains the regions you want to repeat (such as a table that contains name and price regions), and then select Repeat. By default, GoLive uses all the stories to generate the list. If you want to use only certain stories, enter the number of the first story (according to the sort order) in the Start field, and then enter the total number of stories to use in the Count field.
  5. Repeat steps 3 and 4 until you've created editable regions for all the items you want to use in the template.
  6. Save the file.