I want to know if there is any reason not to make all my templates from now on with at least the extension of PHP and a menu that is done with a @include. I have found that using the @include function for a menu is the best way to go, I just don't know enough about PHP to know the drawbacks from doing so. Seriously why not have a menu that links through out the whole site and can be changed from one file which effects the whole site menu.
I tried to oversimplify this, but for strong valid CSS/XHTML sites, shouldn't they all be running off the php extension with external include files for things like the menu, footer, sidebar, etc which are going to be the same on all pages. Like a real light mini CMS?
Please if anyone knows drawbacks to doing this, or can figure out why most information out there doesn't really even tell people this, that would be great. Thanks, I don't know much PHP at all which is why I am asking, but I do know includes.

New Topic/Question
Reply




MultiQuote





|