Forum Moderators: coopster

Message Too Old, No Replies

Dynamic Webpages

         

Hemeno

4:04 pm on Jun 15, 2005 (gmt 0)

10+ Year Member



This is my first post at this site, so bare with me. :)
I've been reading tons of threads all over the site for about a week or so.

Right now I am in the process of creating a large site. I would like to have a layout that is easily changeable.
The site will have a few hundred pages. I need to be able to change the layout (menu items) and maybe the header/footer on the fly without changing each page individually.

After spending a little time with phpbb(editing the layout of the page), I've noticed the use of .tpl files for the header, footer, overall etc. I would like to use something similiar to this or maybe a little easier to implement.

Thanks in advance. :)

coopersita

10:04 pm on Jun 15, 2005 (gmt 0)

10+ Year Member



Have you checked out smarty?

[smarty.php.net...]

It's a template system, so you keep your templates in one dir, and your php in another.

Or you can simply have your header, footer and menu as includes. That way when you want to make changes to the whole site, you just change the include.

jatar_k

10:22 pm on Jun 15, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Hemeno,

a lot of people love using smarty, there are also some options in this thread
A dynamic site in 2 minutes [webmasterworld.com]