Forum Moderators: phranque

Message Too Old, No Replies

Simple template system for php/html

         

Dudermont

9:15 pm on Jun 18, 2004 (gmt 0)

10+ Year Member



I am doing a few small sites (5-15 pages) and thought that it shouldn't be that hard to find a template system that I can create a template for and then just say what template that I am using and supply title, meta data, and body content for it.

I am first a programmer so it would be an afternoon to set a simple one up like I want, but I can't believe that after searching opensource I didn't find something like that. (Or if I did see it, never realized that it was what I wanted.)

Does anyone use something like this for smaller sites?

HarryM

9:38 pm on Jun 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I also looked for the same thing. Found plenty of sites trying to sell me ready made templates, but what I was looking for was a model php template that I could modify to suit my needs. So I wrote my own - guess I probably reinvented the wheel.

jatar_k

9:50 pm on Jun 18, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Dudermont,

does this help at all?
A dynamic site in 2 minutes [webmasterworld.com]

I think most of us just do what you're implying, build our own custom one to fit our exact needs.

Dudermont

10:25 pm on Jun 18, 2004 (gmt 0)

10+ Year Member



Thanks for the welcome, I really like it here so far and will be a comming back regularly.

I currently do include everything like the other thread had. I just wanted to make it a little easier to change the template in one location.

I will be doing my own but make it a little more advanced.
Supply the title metadata and body at the top of the page.
Include a template and let the tamplate put everything in its location. So when I want to change the layout. I change the template.

If I really like how it works I'll throw a little tutorial together for newer developers.