My site structure is all custom page types with a single parent page the extends from Page.php.
class CustomPage extends Page {}
class Custom_Controller extends Page_Controller {
//load all javascript/css for entire site here etc
}
class SomeClass extends CustomPage {}
class SomeClass_Controller extends Custom_Controller
{
// etc etc you get the point.
}
Every other page in the site now extends from CustomPage and Custom_Controller respectively. Page.php is pretty much empty.
Now the problem comes when using modules that are not written internally. The Blog* module for example will not inherit the javascripts/css/functions defined in the new base class Custom_Controller is it is set to extend Page_Controller.
What is the ideal method here for basically making Blog_Controller extend Custom_Controller without modifying the Blog module?
*Blog module is just an example. this applies to all modules.