Home › Forums › Back End › Auto include on index.php only working on home › Reply To: Auto include on index.php only working on home
September 13, 2013 at 12:45 pm
#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.