views:

14

answers:

1

I've been trying out loads of different way to make the most effecient "template" for a site. The site consists of 'Sections', 'Menus' and 'SubMenus'. So to the question; what would be the most efficient and "slick" way of making a "template" for it? I've tried including headers and footers (Making all "head" items in the "header.php" and closing everything in the "footer.php"). I've tried using Case/Switches and includes - But all this gets very inefficient when you have a lot of redirects and pages. So I've been pondering over other sites go about in doing this..

What would you suggest that I start looking into?

A: 

Why not use a CMS system like Drupal or Joomla. Then you can take an existing template and build off of it. Drupal uses PHP Templating engine. http://drupal.org/node/11810

Mech Software
Well, I was thinking about using a CMS system, but then again I want to learn to make the template system, it's not the functions itself I'm looking for. It's more how I can go about to make an efficient system.
Olsson