decorative banner

Adding dynamic content and behavior


    After configuring a site and your servers, you are ready to add dynamic content to the site. You must have a site file open to add dynamic content to pages. Once a site is open, you open a specific page you want to enhance with dynamic content, make the page dynamic, create a content source, and then bind text, images, and other page elements to fields in the content source. When the site is served up live on a Web server, viewers see the dynamic content stored in your data sources replace the bound elements.

To make a page dynamic:

  1. Open the page you wish to make dynamic.
  2. Choose a server-side processing language supported by your server from the pop-up menu of the Dynamic Bindings palette.
  3. Click Convert Page.
  4. Golive adds the files necessary for the server-side processing language you selected to the config folder of your Web site.

To create a content source using the Objects palette:

  1. Drag the Content Source icon from the Dynamic Objects set of the Objects palette to the head section pane of your document window (or to the body, if the head section isn't open).
  2. In the Inspector, type a name for the content source in the Description text box.
  3. Choose the appropriate content source type from the Type pull-down menu. Depending on the type you chose, other options appear.

To create a content source using the Content Source Editor:

  1. Click the Open Content Source Editor button above the main area of the document window.
  2. Click the Create New Content Source button in the Content Source Editor.
  3. In the Inspector, type a name for the content source in the Description text box.
  4. Choose the appropriate content source type from the Type pull-down menu. Depending on the type you chose, other options appear.

To bind a page element to dynamic content:

  1. Select the element you want to bind to a content source.
  2. Select a content source and a field in the Dynamic Bindings palette.
  3. For more information on adding dynamic content to pages and for example pages, see Creating commonly used page elements and Creating common dynamic pages.