Have you always thought Server Side Includes (SSI) was too complex? Check out Clay Dowling's tips as he explains some simple SSI directives and how to simplify managing navigation menus.
Using SSI to Boost Efficiency - Common HTML Blocks (Page 6 of 7 )
There are blocks of common code I have used on my website. Support for many of my downloadable scripts can be purchased through PayPal. Likewise, these scripts are listed on script sites that have a rating system. The code blocks for both are a little tedious and very similar across all pages.
Part of the problem here is that the blocks are similar, not identical. For IIS users, this means you're out of luck. For Apache users though, the combination of #set and #echo directives are useful. The block for the script rating site is below:
The only part I'm really worried about here is the value of the ID form field. That is the only part that will change from page to page. Again, I cut the block of code out of my page and drop it into its own file, which I'll call "rateblock.shtml". I replace the value of the ID field with an #echo directive, as demonstrated below in the code excerpt.
The block will appear in my pages with the proper value in the ID field. If you get a value of "(none)" in the ID field, you have a mismatch between the variable you set in your page and the value you are echoing in the included file. I lost several minutes trying to resolve that problem.