I've inherited a website coded with Smarty PHP and My SQL. I am an ASP programmer though I am somewhat fluent in PHP as well. I have never used Smarty before. I have reviewed the website crash course which makes it seem very simple to begin a website using Smarty. However if you were to begin with an already existing website that was coded with Smarty, how do you begin to manage it?
The homepage calls an include file which then calls 3 more include files which then each of these include files call 30 + more include files which within these contain 30+ functions with one of them being "get homepage". Amongst all these includes and functions, how do you do the simplest tasks such as change a homepage image? How do you manage all of the includes and functions to know where a piece of code is to edit??? Not to even mention all of the database includes and functions throughout all of these includes.
There must be some type of management system of all these includes, templates and functions to see where a little section on a webpage may be edited.
Please help. I need to know how to manage an existing Smarty website when I have no history of it's making. Thank you.