PDA

View Full Version : nested templates


bradley7
07-26-2009, 12:26 AM
Hi
I am trying to get my head around templates. How many level (sub templates) can you have?

Can i say have a master template with a header and a footer and another template with just a spry menu, and yet another with a pictures. and can I combine all three? and if so how?

Brad

Corrosive
07-26-2009, 07:21 AM
I would start looking at PHP includes if I were you

http://www.dreamweaverclub.com/php-includes.php

Templates are fine for simple designs of a few pages but breaking your site up into component parts is better approached with includes.