[eluser]thors1982[/eluser]
So I am having issues on how to handle inheritance in Codeigniter.
I am slightly dumbing this down so its easier to understand... however essentially what I want to do is have a generic "Page" controller then have other controllers inherit off that... such as "Contact Us", "About Us", etc.
The generic page could have functions like "edit", that would ask for title, meta tags, content. But the contact us could request all the above as well as email address, form fields etc.
My problem is I can't seem to inherit off another Controller. I have extended the base controller into a secure and unsecure controller which works fine (and i can use those generic functions) but that file is stored in the core folder.
Any tips on how to get this done? (not necessarily JUST get it done) But the best codeigniter way to get it done :-) I am away I could probably drop ALL those classes and functions in one file and it would work fine.... but that does not sound like a very good solution.
Thanks for the help!