Accessibility
 
Home / Developer Center / Macromedia Contribute Developer Center

Contribute Article

Marc A. Garrett

Marc A. Garrett
since1968.com

 
Updating static content in a dynamic website with Contribute


Macromedia Contribute and Dreamweaver MX templates interact smoothly to allow easy updating of static web content. While templates are a popular feature within the Dreamweaver MX community, many developers prefer to assemble dynamic pages using server include files.

In this tutorial, I show you how to get the best of both worlds: You will build a site using server includes, while still allowing your Contribute users to make sitewide updates to static content. First I examine the difference between includes and Dreamweaver templates. Then I show how you, as a developer, can configure a Contribute site so it supports include pages. Finally, I explain how Contribute users can make their edits to your site.

System requirements
To complete this tutorial you will need the following:

To get the most out of this tutorial, you should be familiar with building basic ColdFusion pages, defining sites with Dreamweaver, creating and editing simple images in Fireworks or the editor of your choice, and defining and editing sites with Contribute.

If you haven't yet administered Contribute, you should first read these two tutorials: "Getting familiar with Contribute basics" by Matt Brown and "Options for Contribute website administrators" by Donald S. Booth.

Note: Although I've used ColdFusion MX as the server model for this site, there's nothing to keep you from building a similar site in another server model and following these steps. For example, you could just as easily build a JavaServer Pages site with the <jsp:include> tag or a PHP site with the include() function.

Table of contents


Sample files
Before you begin, download the source files for this tutorial:
 
Download the sample file contribute_include_tutorial.zip (294K)
 
  Next

About the author
Marc A. Garrett, a certified ColdFusion MX developer and Macromedia Alliance Solution Provider, runs since1968.com, a web development resource featuring interviews with authors and designers such as Steve Krug and Hillman Curtis. Along with Ben Forta and Sue Hove, Marc is coauthor of Macromedia ColdFusion MX Development with Dreamweaver MX: Visual QuickPro Guide, published by Macromedia Press. He hopes to write more books with unduly long titles in the near future. You can reach him at marc@since1968.com.