Click to See Complete Forum and Search --> : Templates


dragonfighter60
03-29-2005, 06:16 PM
This may or maynot to be the right place to ask this, but considering its in an HTML doucument.... ANYWAY how do you make templates? And 2. How do you place them? I use Adobe GoLive but I also can use Frontpage or good ol' Notepad. If you want to see the site I want to put a template on, its in the signature.

Im a nub when it comes to some of this stuff but all I need to do is learn and practice. I have a free geocities site that i practice stuff on before I actually put it on the page I'm working on.... so me messing up is no big deal.

phpnovice
03-29-2005, 08:47 PM
Mostly, templates require server-side code to implement. A template is not usually just a piece of an HTML document that you can include as-is. If you want it as-is, then you can use Server-Side Includes (SSI) to build your completed HTML document:

<!-- #include virtual="/includes/header.htm" -->

Depending upon how your server is configured, the main HTML document requires an .shtm or .shtml file extension to invoke the SSI processor.