Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Auto include on index.php only working on home Reply To: Auto include on index.php only working on home

#150007
__
Participant

I have been google today found out to be able to do what I am after I need A MVC template engine

Instead of just jumping to conclusions, you should research what “MVC” means – your templates are only the “V” (“View”) part.

While I do recommend learning about and following MVC patterns, you do not need to change your entire approach simply to include a shared header and footer on your pages.

Also, while I don’t really like Smarty, it is suited for use in an MVC structure.