View Single Post
  #7 (permalink)  
Old 08-31-2004, 01:19 PM
drummin drummin is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: California,USA
Posts: 373
drummin RepRank 0
Default This PHP zip-file works well

Hi Dawn,
I've used a modified version of this zip file on my latest project. (I changed it from tables to Div tags on the "main" file.)
This makes it easy to change layouts because all common elements can be loaded onto the "common" file.
Works well and pages load fast because those "common elements" are only loaded once. The only part that changes is the "content" of each page.

http://www.phpbuilder.com/columns/kendall20001122.zip

Once you get the concept down it's easy to make different latouts by making a copy of the "prepend", "common", and "main" files and renaming them to "main2" etc... Then just change the "common2" layout.
Sounds complicated but it's not.
Hope this helps.
Robert
Reply With Quote